LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-05-2010, 06:03 AM   #1
Luiz Ramos
LQ Newbie
 
Registered: Jun 2010
Location: São Paulo - Brazil
Distribution: Slackware, Debian, LinuxMint, ArchLinux
Posts: 23

Rep: Reputation: 11
Dosfsck and VFAT


Hello,

just a newbie question. I have a memory card which is formatted with FAT16, but is mounted with VFAT when "auto" is selected. Also, it features long file names, and so it is a real VFAT partition.

It had some broken files/directories/structures, and so it has to be fsck'ed.

In Debian (yes, I use Debian too), I'm used to do:

fsck -f -a /dev/sda1

and everything works. But I tried to do the same in Slackware.

In my Slackware 13.1 (but also 13.0), there is no fsck.vfat to handle the fsck backend. So, if you try the command above, it will not work.

After some research, I found dosfsck from dosfstools. So I tried:

dosfsck -f -a /dev/sda1

and everything seemed to work.

I'd also consider that in Debian there are both fsck.msdos and fsck.vfat backends, but I'm not aware of the real differences between both except by their names.

My question is: can Slackware's dosfsck be used safely with VFAT partitions? My first guess is that yes, it can be used; but this answer seems very superficial, as I'm not aware of the details.

Thanks,

Luiz Ramos
 
Old 08-06-2010, 01:57 AM   #2
vst
LQ Newbie
 
Registered: Jul 2010
Location: Ukraine
Distribution: Slackware
Posts: 20

Rep: Reputation: 3
Yes, it can. Dosfsck works for FAT12, FAT16, and FAT32 (cause they are all really MS-DOS filesystems) :-)

Also, Slackware taught me to use filesystem checkers directly instead of calling fsck, i. e. call e2fsck, xfs_check, etc. Read the manpages first.

Regards,
V'yacheslav.
 
  


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
dosfsck -rw /dev/hda8 >>> error gaaln Linux - Software 3 08-24-2006 03:30 PM
dosfsck of FAT32 differences between boot sector and its backup TomF Linux - Hardware 1 09-29-2005 10:55 AM
Suse 9.3 dont start (dosfsck) problem alaios SUSE / openSUSE 3 09-16-2005 02:37 AM
dosfsck always starting at boot Emp202 Fedora 2 01-19-2004 09:42 AM
dosfsck problems sourceman Linux - General 0 03-08-2002 03:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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

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