Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
04-01-2006, 02:08 PM
|
#1
|
LQ Newbie
Registered: Nov 2005
Posts: 18
Rep:
|
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
|
|
|
04-01-2006, 02:20 PM
|
#2
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
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.
|
|
|
04-01-2006, 02:28 PM
|
#3
|
Senior Member
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247
Rep:
|
First is for dumping, second for fsck.
|
|
|
04-01-2006, 02:28 PM
|
#4
|
Senior Member
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141
Rep: 
|
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
|
|
|
04-05-2006, 02:50 PM
|
#5
|
LQ Newbie
Registered: Nov 2005
Posts: 18
Original Poster
Rep:
|
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
|
|
|
04-06-2006, 02:47 AM
|
#6
|
Member
Registered: Mar 2006
Distribution: Slackware
Posts: 63
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 11:19 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|