On Sat, Dec 29, 2007 at 09:45:49AM -0500, Rick Cochran wrote:
Now I have the problem that if I create a filesystem on the USB drive
(which shows up as /dev/sda), unmount it, and power cycle the drive, the
drive then shows up as /dev/sdb and the OS will not mount it:
samuel> sudo mount /mnt/usb500/
mount: wrong fs type, bad option, bad superblock on /dev/USB500/usb500,
or too many mounted file systems
samuel>
It is trying to access /dev/sda.
Is there some special procedure for handling USB drives with Linux?
I think that the way to go is to mount your filesystems using their
UUID, and not the fickle /dev/sd* identifiers that the OS will give
them.
The program blkid will help you compute a partition's UUID, and then you
can use that to create an entry for your drive in /etc/fstab.
HTH,