>> On Thu, Jun 13, 2002 at 08:31:18PM -0700, Mark Atwood wrote:
> 
>> > 
>> > I want to do this so that my /etc/hotplug/usb/usb-storage script can
>> > automatically mount it and do some magic with it's contents
>> 
>> Sorry, but right now it does not know that information :(
>
> Urk.
> 
> So is there any way to do what I want? (Plug in arbitrary numbers
> and kinds of usb-storage devices and have them be programatically
> mounted automatically?).

That's what "scsi hotplugging" support should help with.
You're looking at completely the wrong level ... it's not
relevant that USB was involved at the lowest level; what's
relevant is that when you access /dev/foobar it's SCSI.

It's somewhere in the works for 2.5 as I recall.  That'll
provide clean notifications of new SCSI devices, and given
those and a policy you can figure out where to mount them.

Meanwhile you might look at "devfs", which can also tell
you when new SCSI devices appear.  I suspect some folk
already have "devfs" based tools to mount disks as they
appear ... called by "devfsd".

Of course, if you want a reasonable volume management
solution you're going to _have_ to insist that your
media have some kind of label.  If there's been some
advance over the past few decades that has repealed
that fact of life, I missed it ... :)

- Dave




_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas - 
http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink

_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to