LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 09-19-2005, 12:04 PM   #1
bobbens
Member
 
Registered: Sep 2004
Location: Barcelona
Distribution: Debian, FreeBSD, Gentoo
Posts: 586

Rep: Reputation: 30
fat32 flashdisk problems - wipe?


So i have an mp3 player that i can only get working through a 256 mb card, altough it bugs frequently. I was wondering if there is any tool to set all the bits to 0 on the card, because right now it says its 61% full when i empty it (probably didnt erase a directory or it got damaged or something) and i would like to try to fix that. Is there any other way to get this working? like a mkfs.vfat tool or something like that? I think the wipe (setting all bits to 0) would probably also solve this. Really getting sick of this music player. Thanks.
 
Old 09-19-2005, 01:03 PM   #2
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
If you install 'dosfstools', you'll have mkfs.vfat at your hands. Setting all bits to zero would make the device unusable until re-partitioning and reformatting.
 
Old 09-19-2005, 01:06 PM   #3
bobbens
Member
 
Registered: Sep 2004
Location: Barcelona
Distribution: Debian, FreeBSD, Gentoo
Posts: 586

Original Poster
Rep: Reputation: 30
K, thanks for the dosfstools. Isn't there a way to set only the data bits to 0? Like where the files go and that stuff (sorry bout my non-technical FS talk, but havent really worked with them in detail yet). And even if there is one that makes me have to re-partition and re-format, what is the app? Thanks.
 
Old 09-19-2005, 01:14 PM   #4
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
Well, reformatting is the mkfs.vfat included in dosfstools. It's probably your best bet. Or you could simply try 'rm -rf /mnt/MOUNTPOINTFORMP3PLAYER', with the proper mountpoint, of course.
 
Old 09-19-2005, 01:17 PM   #5
bobbens
Member
 
Registered: Sep 2004
Location: Barcelona
Distribution: Debian, FreeBSD, Gentoo
Posts: 586

Original Poster
Rep: Reputation: 30
ill play around with that, ill probably end up borking it soo bad ill have to redo the FS at a school windows computer again, really want to get a good mp3 player.
 
Old 09-19-2005, 05:06 PM   #6
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
just use 'mkfs.vfat /dev/sda1' or the appropriate device.
 
  


Reply



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
PCMCIA Flashdisk not recognized Rob Parker Linux - Hardware 7 07-14-2005 03:13 PM
flashdisk questions libertine Linux - Software 6 06-24-2005 11:00 AM
USB flashdisk Shifty02 Mandriva 1 05-21-2005 04:15 PM
mounting a different flashdisk whited Linux - Hardware 1 04-28-2005 12:11 AM
Flashdisk mounting problems dabump Linux - Newbie 1 11-21-2003 10:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 12:02 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration