Re: usb-mass-storage and /dev/sdXX assignation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On Wed, 23 Jul 2003 dballester@xxxxxxxxxxxxxx wrote:


Hi:
     I'm searching a user-way to be able to know what /dev/sdXX has been
assigned to any usb-mass-storage. In google all info is related in how to
mount automatically the scsi partition, but always are static. I trying

Do you just want to know the device or do you want to add it to fstab or automatically mount it?


You can use /etc/hotplug/usb.handmap or usb.usermap to run a script when you plug in the device.

Looking at the current hotplug scripts, plugging in a device that loads usb-storage is supposed to call /usr/sbin/updfstab already.
You could change that call (end of /etc/hotplug/hotplug.functions) or look at what updfstab does. Hint 'man updfstab'



-Thomas



-- Shrike-list mailing list Shrike-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/shrike-list

[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux