This might be a dumbass question, but the way I'm doing it now doesn't seem quite right.
I have three removeable hard drive type devices that I regularly plug into my Debian box--my iPod, a bus-powered Firewire hard drive, and my disk on key.
Right now, my fstab looks like this:
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/hda1 / ext3 defaults,errors=remount-ro 0 1
/dev/hda5 /home ext3 defaults 0 2
/dev/hda6 none swap sw 0 0
/dev/hdc /media/cdrom0 iso9660 ro,user,noauto 0 0
/dev/sda1 /mnt/usb vfat rw,user,noauto,uid=wsmith 0 0
/dev/sda2 /mnt/ipod vfat rw,user,noauto,noatime,umask=0 0 0
/dev/sda1 /mnt/wiebe vfat rw,user,noauto,noatime,umask=0 0 0
/dev/sdb1 /mnt/usbextra vfat rw,user,noauto,uid=wsmith 0 0
Everything works fine if I only have one device plugged in. The device mounts in its correct place, and everything is happy.
The problem is that when I connect a second device it shows up as /dev/sdb and then the mount command doesn't work. I figure there has to be a better way to deal with this that I'm missing, but I don't know how I'd do it, unless I just assign generic mount points for the first connected device, the second connected device, and the third connected device.
How do you guys handle it?