Click to See Complete Forum and Search --> : USB Flash Card
acldrwd
03-25-2005, 09:42 AM
I am trying to mount a USB flash card. The problem is that every time I plug it in, it has a different mount point e.g. /dev/sda1, /dev/sdb1, dev/sdb2 and I have to find out which one by trial and error. I have three USB ports but am using the same one each time. Also I cannot now put anything in /etc/fstab as it will have changed the next time I try to mount. Does anyone know how to keep the mount point consistent? Thanks.
JamminJoeyB
03-25-2005, 10:15 AM
What distro are you using?
What kernel 2.24? 2.26?
Seems strange it wouldn't default to the first available device.
acldrwd
03-25-2005, 11:22 AM
It is SuSE 9.2 and the kernel is 2.6.8-24
DrChuck
03-25-2005, 01:52 PM
Do you boot with or without the flash card plugged in? If there is another SCSI or USB device on the bus at boot time, it may get assigned the sda device first, then your card is assigned sdb.
Check your boot log with "dmesg", and look for references to sda and sdb to figure out which devices are involved.
drChuck
acldrwd
03-25-2005, 05:26 PM
Thanks. I boot without it plugged in. Even if I plug it in more than once during the same session (mounting and unmounting every time) , however, it always assigns a different mount point. These range from /dev/sda1 to /dev/sdc4. Perhaps I should just boot with it plugged in, as you say and see if that gives a consistent mount point.