A USB “thumb drive” or sometimes called a “flash drive” is a data
storage device that includes flash memory with an integrated USB
interface. It is typically removable, re-writable and much smaller than
CDs or DVDs, optical discs. Additionally, it is more flexible,
portable, and holds more memory. Typically USB-Drives are used to
backup contents of directories and files in order to have safe copies of
information. Some people use them to transfer information from one
computer to the other. Today most computer have USB ports on which
these drives can be plugged in. USB drives are usually formatted with
a windoze file system (e.g. FAT32) but can also be formatted to Linux
ext-3 or ext-4 file systems. Of course Mac OSX also supports these
drives. It important to note that Fedora Linux workstation at CCRMA
can read and write data into windoze formmated thumb drives.
If you plug in a VFAT or even a FAT32 windoze filesytems USB thumb drive into a Linux workstation, as of Fedora 26 and above the drive will automatically mount into directory:
|
Once mounted, you have read and write permissions to your drive since Linux is seeing it as one of own your directories. You can go the content of your drive by changing directories such as:
|
|
You might need to change '/dev/sdb1' with whatever the device your drive is mount on. You can try finding about where the drive is with the 'fdisk -l' command. Other options might be '/dev/sdb2' or '/dev/sdc1' and, so on. If none of these work, Gnome provides a way to unmount and eject portable drives by using Gnome's Nautilus folder and file manager.
But what about if you want to mimic one of your Linux directories or better, if you want to format a USB drive with a Linux file system?. If this is the case we can assume that you also have a Linux machine at home so that you administrative and root privileges. If this is not the case you might ask a staff member so that you can format your thumb drive with a Linux file system. Below we are showing how to format a drive with an ext-3 or ext-4 file system. However, you might need root privileges.
Insert USB drive into your system and identify your USB drive correctly. This is a crucial step because formatting the wrong disk should be avoided at all costs. You can use the 'df -h' command and it would show something like:
|
If your device is 'sdb1' as shown above run 'fdisk' like:
|
|
|
|
You can organize your directories as above, but beware permissions and
usernames.
NOTE: Above directions also work for portable USB hard
drives.
© Copyright 2001-2022 CCRMA, Stanford University. All rights reserved.
Created and Mantained by Juan Reyes