Hi,

are you sure that this is really the *full* solution?  I had a similar issue 
with a CF card.  After adding your patch, running the modified dosfsck seems to 
re-claim the lost clusters, but the verification pass spits out errors:

<snip>
# /ram/dosfsck -a -w -V -v /dev/sda1
dosfsck 3.0.12 (29 Oct 2011)
dosfsck 3.0.12, 29 Oct 2011, FAT32, LFN
Checking we can access the last sector of the filesystem
Boot sector contents:
System ID "mkdosfs"
Media byte 0xf8 (hard disk)
       512 bytes per logical sector
      4096 bytes per cluster
         6 reserved sectors
First FAT starts at byte 3072 (sector 6)
         2 FATs, 32 bit entries
   1996288 bytes per FAT (= 3899 sectors)
Root directory start at cluster 2 (arbitrary size)
Data area starts at byte 3995648 (sector 7804)
    498988 data clusters (2043854848 bytes)
63 sectors/track, 255 heads
         0 hidden sectors
   3999712 sectors total
Starting check/repair pass.
Reclaiming unconnected clusters.
Reclaimed 286 unused clusters (1171456 bytes) in 272 chains.
Checking free cluster summary.
Free cluster summary wrong (108677 vs. really 108675)
  Auto-correcting.
Starting verification pass.
/
  Has a large number of bad entries. (272/277)
  Not dropping root directory.
/FSCK0000.\000\000\000
  Bad short file name (FSCK0000.\000\000\000).
  Auto-renaming it.
  Renamed to FSCK0000.000
[...more similar messages...]
/FSCK0271.\000\000\000
  Bad short file name (FSCK0271.\000\000\000).
  Auto-renaming it.
  Renamed to FSCK0000.271
Checking for unused clusters.
Performing changes.
/dev/sda1: 2328 files, 390313/498988 clusters
</snip>

Running dosfsck again with the same args does'n show any errors.

Best,
Albrecht.


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to