LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
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?

Notices

Reply
 
Search this Thread
Old 08-04-2006, 12:04 PM   #1
rushi
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, 01:02 PM   #2
rushi
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.
 
  


Reply

Tags
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 07:51 PM
Formating a new partition Blackthorns.Legacy Linux - Newbie 8 06-25-2005 12:28 AM
formating partition to reiserfs tintilin Linux - Software 1 11-22-2004 01:14 PM
partition formating, mounting im_ka Slackware 2 02-26-2004 10:40 AM
Formating a FAT32 partition, putting the partition correctly into FSTAB, and more. squall14716 Linux - General 14 10-27-2003 11:16 PM


All times are GMT -5. The time now is 01:44 AM.

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