LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 04-01-2006, 02:08 PM   #1
crabber338
LQ Newbie
 
Registered: Nov 2005
Posts: 18

Rep: Reputation: 0
Slackware having problems checking my VFAT drive


Hi all,

I haven't used Slackware for a while, and downloaded it recently. I have a FAT32 drive that used to be a Windows disk, and I'm using it for storage. Everything was working fine after installing Slackware, util my computer rebooted from a power outage. It said it couldn't check the drive for errors because ther4e was no fsck.vfat. Does Slackware come with a file system checker for DOS? I know other flavors of linux have shown no similar problems, but they included the file I described above. Have I missed something when installing? Or is it something I have to go out and get? I've tried installing it from a Debian Package, but it shows nothing when I click on it. I can compile it myself, but if this is the case, where should I get the source for this?

Thanks,

cra
 
Old 04-01-2006, 02:20 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
i'd not recommend checking non unix filesystems. The standard /etc/fstab conventions show the last coloumns of vfat entries to be "0 0" one of those 0's... i forget which, means that the drive should not be checked if it is uncleanly mounted.
 
Old 04-01-2006, 02:28 PM   #3
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
First is for dumping, second for fsck.
 
Old 04-01-2006, 02:28 PM   #4
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
On the Slackware box I'm using at the moment, there isn't a fsck.vfat, but there is /sbin/fsck.msdos which is a symbolic link to /bin/true. This was set up by the script in /var/log/scripts/bin-10.2-i486-1 so it looks like DOS partition checks are intended to be skipped.

You could create a link to true for fsck.vfat by doing the same thing as the Slackware package install and that would stop the error:
Code:
cd sbin ; ln -sf /bin/true fsck.vfat
 
Old 04-05-2006, 02:50 PM   #5
crabber338
LQ Newbie
 
Registered: Nov 2005
Posts: 18

Original Poster
Rep: Reputation: 0
Oh, sorry. I think there was a misunderstanding. I was just trying to get some sort of filesystem checking in Slackware (pertaining to VFAT). I really didn't want the system to check the drive on startup.

Anyway, I fixed the issue. I downloaded the source off a site for dosfstools version 2-11 and I compiled it. I was able to clean the errors on the drive with no problem. I really don't want a Vfat disk, but it was pulled from a windows machine that I no longer used.

cra
 
Old 04-06-2006, 02:47 AM   #6
wchild
Member
 
Registered: Mar 2006
Distribution: Slackware
Posts: 63

Rep: Reputation: 15
Quote:
Originally Posted by crabber338
...I'm using it for storage. Everything was working fine after installing Slackware, util my computer rebooted from a power outage.
You've got a proof that FAT is not good for storage because it's not fail-safe. Backup the data and reformat to ReiserFS
 
  


Reply


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
Pleaase help me to mount VFAT drive to everyone kikkubey Linux - Hardware 3 10-21-2005 08:40 AM
A little help with checking the hard drive. mrmcctt Linux - Hardware 3 03-11-2005 12:58 PM
trying to format vfat drive +32 Gb bandofmercy Linux - Hardware 5 12-05-2004 11:03 PM
vfat; drive space remaining itzfritz Linux - General 1 11-13-2004 09:14 AM
slackware 9.1 mounting problems (cd drive, cd writer drive, win partition (ntfs)) mr.gizm0 Slackware 8 05-11-2004 07:23 PM

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

All times are GMT -5. The time now is 11:19 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