Re: usb devices /etc/fstab
The second device you plug in will probably show up as
/dev/sdb1 (but I haven't used that.)
you may also want to check out using devfsd if you have
a recent enough kernel. devfsd dynamically adds and removes
devices from the /dev hierarchy. and the naming has become
more Solaris....
/dev/scsi/host0/bus0/target0/lun0/part1
/dev/scsi/host0/bus0/target0/lun0/part2
/dev/scsi/host0/bus0/target0/lun0/part3
and so on. So your two devices, when plugged in, should
generate unique entries under the /dev/scsi hierarchy.
but again my only hot pluggable device is a cd burner.
I have never tried to plug another device in at the same
time. But I'ld be pretty frustrated if it didn't work the
way I expect. (I'm frustrated a lot of the time ;-)
- Jeff
On Sun, 2003-07-20 at 18:19, matt zagrabelny wrote:
> hi,
>
> i have two usb removable mass storage devices (camera and vorbis player)
> that are both setup in /etc/fstab to use /dev/sda1 as the device. what
> should i do if i want both to be plugged in and mounted at the same
> time?
>
> obviously if i only want to use one at a time, then i can leave the
> devices alone, /dev/sda1 will always work for that situation. how have
> others worked around this?
>
> i have tried mounting the second one (after the other is mounted to
> /dev/sda1) to /dev/sdb1 but that came up with errors. i have poked
> around /proc/scsi/ but dont know what to look for. dmesg also seemed to
> be a waste of time.
>
> thanks for the help.
>
> -matt zagrabelny
>
Reply to: