Patrick Shanahan wrote:
* Randall R Schulz <rschulz@sonic.net> [03-17-05 17:33]:
I know the device name it uses on any given mount. But it's not stable. It depends on the order in which USB mass storage devices are mounted.
I want a solution that is not susceptible to this dependency.
Looks like Joe Morris (NTM) has provided an answer to your problem today in this list I didn't reply to his message because IIRC he uses 9.1 and I am not sure it will work with the udev of 9.1, but it does work with udev in 9.2. An example from mine is for a lexar jumpdrive. First, I created a file in /etc/udev/rules.d/ called 10-udev.rules (so it is not over written by an upgrade). It is: BUS="usb", SYSFS{serial}="33000000817000041501", KERNEL="sd?1", NAME="%k", SYMLINK="jumpdrive"
this produces a link to which ever sd device it gets, but is specific to this particular jumpdrive. Then I created a directory /media/jumpdrive. I also added to fstab: /dev/jumpdrive /media/jumpdrive vfat noauto,user,rw,sync 0 0 I could have used subfs, but decided I wanted to manually mount and unmount (I'm still a bit old school and can understand the safety of that better). Then, I created a device icon (.desktop) file on my desktop called Lexar Jumpdrive, choosing rw and mountpoint (of which it reads fstab and gives you the choices) /media/jumpdrive. It works great for me in 9.2, hope it still works in 9.1. -- Joe Morris New Tribes Mission Email Address: Joe_Morris@ntm.org Registered Linux user 231871