PDA

View Full Version : auto mount usb drive


wolfey38
18th July 2005, 12:35 AM
All is fine if i have my usb drive in my computer when it boots. But if the system has already booted, and i plug in my usb drive, it does not mount. I'm not really sure how this works. But i figured out i could mount it by doing fdisk -l and then gettin gthe device name, then i tried # mount -t fat16 /dev/sdb1 /media
because it said it was fat16. That didnt work, it said that it didnt know what fat16 was. So i looked at the man pages and saw vfat was listed.. not sure what it is exactly but substituted that with fat16 and it worked fine.. Now i'm not sure though that i should be mounting it that way, or if there is a better way to do it...

Any help would be appreciated.

92b16vx
18th July 2005, 12:47 AM
I had to create /media/thumbdrive then mount /dev/sda1 /media/thumbdrive <permissions here> when I removed it to try out my MP3 player, and then plugged it back in. Mind you, this was only when I had already booted up, and removed it. I'm not sure if this is relatible, but maybe it helps some.