Re: CD writing in future Linux (stirring up a hornets' nest)

From: Joerg Schilling
Date: Mon Jan 30 2006 - 11:14:33 EST


Christoph Hellwig <hch@xxxxxxxxxxxxx> wrote:

> On Mon, Jan 30, 2006 at 01:04:08PM +0100, Matthias Andree wrote:
> > Why is it a *kernel* task to invent SCSI identifier for a non-SCSI
> > transport that does not have such identifiers, in addition to the device
> > name? libscg is already doing it for /dev/hd* and /dev/pg*.
> > How about USB or Firewire or SATA? Do they have ID or LUN?
>
> Nothing but SPI (parallel scsi) has a target id. Everything that broadly
> falls under SAM has luns. Because SPI is dying transport the scsi
> midlayer will get rid of having a mandatory target id mid-term. Relying
> on the target id to have any useful meaning is dangerous, it doesn't
> have a really useful meaning on anything but SPI.

And now please tell me how you believe this will be inplemented.....

Every kernel implementation I am aware of uses device instance numbers
and BTW: I am open for any non-dogmatic discussion.


Jörg

--
EMail:joerg@xxxxxxxxxxxxxxxxxxxxxxxxxxx (home) Jörg Schilling D-13353 Berlin
js@xxxxxxxxxxxxxxx (uni)
schilling@xxxxxxxxxxxxxxxxxxx (work) Blog: http://schily.blogspot.com/
URL: http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/