Hi,
You can find a bug here :
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=417673
fsck.vfat -a /dev/sdb1 will ask you to correct , and it will do nothing
File size is 23789568 bytes, cluster chain length is 0 bytes.
Truncating file to 0 bytes.
Reclaimed 58242 unused clusters (954236928 bytes).
Free cluster summary wrong (91547 vs. really 215753)
1) Correct
2) Don't correct
? 1
you can try with fsck.vfat -p or other but no way to let it fix the
files
The files are still present of the disk pen, but cannot be del or
neither read?
what to do under debian stable for such an issue.
You can repeat, and still same error msg of fsck.vfat
OK. solution?
- here it is :
/tmp/fileb.dat
File size is 23789568 bytes, cluster chain length is 0 bytes.
Truncating file to 0 bytes.
Reclaimed 58242 unused clusters (954236928 bytes).
Free cluster summary wrong (91547 vs. really 215753)
1) Correct
2) Don't correct
? 1
Perform changes ? (y/n) y
/dev/sdb1: 335 files, 272838/488591 clusters
root@debian:/home/linux#
root@debian:/home/linux# fsck.vfat -a /dev/sdb1
dosfsck 3.0.9, 31 Jan 2010, FAT32, LFN
/dev/sdb1: 335 files, 272838/488591 clusters
root@debian:/home/linux# fsck.vfat -r /dev/sdb1
dosfsck 3.0.9, 31 Jan 2010, FAT32, LFN
/dev/sdb1: 335 files, 272838/488591 clusters
then it works with -r since it asks you to perform changes
it ought to work with -p or -a
Please a fix to allow -a to work better
thanks