[CentOS] How to format a USB drive?

Ljubomir Ljubojevic office at plnet.rs
Thu Jun 2 15:43:11 UTC 2011


Keith Roberts wrote:
>> How can I determine the current format?
>>
>> Do I use the mkfs command?
> 
> Hi Todd.
> 
> One way is to install Gparted and look at the USB drive in 
> the GUI.
> 

Other is to run "mount" or "mount | grep /media" to find out what is 
/dev/XXX of the USB drive, and its format type.

use of mkfs you can find on the internet, I use GParted, it's easier and 
safer in GUI.

In both cases first you must unmount ("umount /media/disk") before formating

Ljubomir



More information about the CentOS mailing list