|
Formating a USB partition
Hi, I have a USB key formatted as vfat on my knoppix box (/dev/sdc1 mounted on /media/sdc1). I am trying to format it, i.e. to delete everything on it. How is this done in Linux? I want to erase everything on it but keep the partition type as vfat.
Windows has a "format" command, I don't know how it is on linux.
I guess a rm -rf /media/sdc1/* would work too. But if there is a specific format/erase command I would rather use that.
|