Help - Search - Members - Calendar
Full Version: Thumb Drive For Linux
Linuxhelp > Support > Technical Support
heylan
Hi, I was wondering if USB drives (also called as thumb drives) can be used in Linux?
Jim
Ya, I think since about the late 2.4 kernels usb drives have been suported. I know for sure the 2.6 kernel supports it. Any recent fairly up-to-date system will suport usb pens.

This command will usually mount them.

mount -t vfat /dev/sda1 /mnt/usb

Obviously there needs to be a /mnt/usb folder already made and you will need have root privilage. You can add a line to your /etc/fstab file so that users can mount to.
Termina
I'm not sure if this is something with the 2.6.x kernels, but that command doesn't work for me on Fedora (2.6.5 kernel)

If the above command didn't work, try this:

mkdir /mnt/usb
mount /dev/sda /mnt/usb


You probally don't want to specify the type like he did, in case you use a diffrent file system on that device.
Jim
If you can't find the /dev/whatever for your USB pen, try the command dmesg That will list all sorts of things, but your usb pen should be in there after its plugged in even before its mounted.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2017 Invision Power Services, Inc.