Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?


  Search this Thread
Old 08-04-2006, 11:04 AM   #1
LQ Newbie
Registered: Jul 2006
Location: Arlington,Va
Distribution: Fedora 5, Red Hat, Knoppix
Posts: 7

Rep: Reputation: 0
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.
Old 08-04-2006, 12:02 PM   #2
LQ Newbie
Registered: Jul 2006
Location: Arlington,Va
Distribution: Fedora 5, Red Hat, Knoppix
Posts: 7

Original Poster
Rep: Reputation: 0
problem solved.

did a mkfs.vfat /dev/sdc1 which worked.


erase, format

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Formating a New Partition on USB Hard drive mrground Linux - Hardware 3 11-30-2005 06:51 PM
Formating a new partition Blackthorns.Legacy Linux - Newbie 8 06-24-2005 11:28 PM
formating partition to reiserfs tintilin Linux - Software 1 11-22-2004 12:14 PM
partition formating, mounting im_ka Slackware 2 02-26-2004 09:40 AM
Formating a FAT32 partition, putting the partition correctly into FSTAB, and more. squall14716 Linux - General 14 10-27-2003 10:16 PM > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 02:31 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration