by cepaea_nemoralis » 19 Oct 2004, 00:14
/dev/hda3 / ext3 defaults 1 1
none /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/hda4 swap swap defaults 0 0
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/sda /mnt/keydrive auto noauto,user 0 0
My fstab file is reproduced above. The last line is for the usb memory stick. It is a Kingston datatraveller, 256 MB. I use a blueberry iBook and YDL 3.01. I occasionally have a problem unmounting the drive, but I quite gnome and re-login into it and the drive unmounts with no problems. the above fstab file will allow any user to mount and unmount the drive.
I use a directory called "/mnt/keydrive" for my keydrive. "auto" refers to the filesystem. "user" allows the user who mounted the drive to unmount it.
My understanding is that the first device to be plugged into the USB port will be assigned "sda;" the second, "sdb," and so on, until you reboot, at which point the first device will be "sda," the second, "sdb," and so on. What I have done is just put each one in the right order each time I reboot. On another system, I have a zip drive and a usb floppy as well as a key drive. When i start up the machine, I insert each one in order; for instance, my usb drive is sda. so I put that in first, and then it works each time until I reboot again. I hardly ever reboot, so it's not inconvenient.
I hope this helps.
Perhaps someone still more experienced can inform us about whether you could get the thing to always work with a given drive letter, so you don't have to insert the drives in order.