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

Re: Hot-plugging USB storage devices.



Iain Georgeson wrote:
Roberto Sanchez <rcsanchez97@yahoo.es> writes:

--- Iain Georgeson <iain@kremlinux.demon.co.uk> escribió:
I would prefer it
each device was always mounted in the same place - /camera for the
camera and /keychain for the keychain, for example. Is there any way
of doing this with usbmgr or something else like hotplug?

I don't get it.  Why not just do something like:

# ln -s /camera /keychain

[...] The only downside is that you would not be able to mount both
devices at the same time.

That's a problem. I want to be able to plug the devices in in
whichever order and be able to

  cp -a /camera/dcim /keychain

for example

I could have a /storage0 and a /storage1 and remember which order they
got assigned, but it just isn't as nice.

scsitools solves the ordering problem by giving scsi devices a
unique name based on its hardware.

dpkg -p scsitools
apt-get install -t testing scsitools



Reply to: