Thread (2 messages) 2 messages, 2 authors, 2002-06-16

Re: [linux-usb-devel] Re: /proc/scsi/map

From: Oliver Neukum <hidden>
Date: 2002-06-16 20:54:59
Also in: lkml

Am Sonntag, 16. Juni 2002 19:25 schrieb James Bottomley:
Since we already have a huge long list of different ways to identify
different devices, I don't think coding any one or even a set of such
methods into the kernel would satisfy everyone.

What about a different approach:

We already (nearly) have the scsimon patches to do hot plug events on
SCSI devices incorporated.  Any identification could be done from the
scsi device hotplug script (i.e. if you see it's USB, get the GID, if
it's enterprise storage get the WWN, try the filesystem UUID etc).  Then
all the hotplug script does is plug this device into some type of volume
idenfication scheme like /dev/volume/<name>.
How would you find out what a device is ?
If the kernel has to supply the information anyway, you could
just as well pass all information to the script or devfs.

	Regards
		Oliver
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help