Quote:
Originally posted by arnold
I have mandrake, redhat and fedora installed. They all include
/sbin/fsck.vfat
man sck.vfat begins:
NAME
dosfsck - check and repair MS-DOS file systems
SYNOPSIS
dosfsck [-aAflrtvVwy] [-d path -d ...] [-u path -u ...] device
DESCRIPTION
dosfsck verifies the consistency of MS-DOS file systems and optionally tries to repair them.
On some distros fsck.vfat is linked to dosfsckd
You probably have not installed "dosfstools".
|
wow, a simple
dosfsck /dev/sda1 seems to have solved all my problems....
i did a test by creating a couple directorys, the first md paused for about 10 seconds, the 2nd went in just fine and then ls came back immediately. not only that....! but the error it detected matched precisely what i was doing when things went bad.....
Code:
root@slackware:/etc/rc.d# cat /etc/fstab
/dev/hda6 swap swap defaults 0 0
/dev/hda5 / reiserfs defaults 1 1
/dev/hda10 /opt reiserfs defaults 1 2
/dev/hda11 /var/www ext2 defaults 1 2
/dev/hda7 /usr reiserfs defaults 1 2
/dev/hda8 /tmp ext2 defaults 1 2
/dev/hda9 /home ext2 defaults 1 2
/dev/hda2 /mnt/windows vfat noauto,users 1 0
/dev/sda1 /mnt/maxtor vfat noauto,users 1 0
/dev/sdb1 /mnt/flashcard vfat noauto,users 1 0
/dev/cdrom /mnt/cdrom iso9660 users,noauto,ro 0 0
/dev/sdc1 /mnt/backpack iso9660 users,noauto,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0
root@slackware:/etc/rc.d# man dosfsck
root@slackware:/etc/rc.d# dosfsck /dev/sda1
dosfsck 2.10, 22 Sep 2003, FAT32, LFN
/Starcraft/install.exe
Contains a free cluster (682368). Assuming EOF.
/Starcraft/install.exe
File size is 346841088 bytes, cluster chain length is 331038720 bytes.
Truncating file to 331038720 bytes.
Reclaimed 148159 unused clusters (606859264 bytes).
Free cluster summary wrong (9234566 vs. really 9220273)
1) Correct
2) Don't correct
? 1
Leaving file system unchanged.
/dev/sda1: 8164 files, 534207/9754480 clusters
root@slackware:/etc/rc.d#
my only question now is how to correct the problem from occuring in the first place, the install.exe is actually a 1/2 gig in size so something must have choked....
but thats another problem....
but isn't sooooo cool to have the source code for everything, to fix it yourself and to have a board like this where you ask a simple question and someone, somewhere has the answer...
this is how it was meant to be....
you know, perhaps
fixing computers will be the wave of the future as far as world peace is concerned, who knows....
cheers
- perry