Package: dosfstools
Version: 3.0.4-1
Severity: normal

Today I've hit the same problem with dosfstools 3.0.4. Version 3.0.3 didn't 
have this issue. I've run dosfsck -afvV and several directories have been first 
renamed, then deleted and I've ended up with over 2000 files salvaged from 
unused chains.

Below is an example of what happened:

$ LANG=en_US.UTF-8  ls -Rla
.:
total 9
drwxrwxrwx   3 root root  512 2009-07-25 20:29 .
drwxrwxrwt. 23 root root 4096 2009-07-25 20:02 ..
drwxrwxrwx   2 root root  512 2009-07-25 20:29 wykład

./wykład:
total 2
drwxrwxrwx 2 root root 512 2009-07-25 20:29 .
drwxrwxrwx 3 root root 512 2009-07-25 20:29 ..
-rwxr-xr-x 1 root root   4 2009-07-25 20:29 dummy.txt


# dosfsck -afvV /dev/loop0
dosfsck 3.0.4 (21 Jul 2009)
dosfsck 3.0.4, 21 Jul 2009, 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
       512 bytes per cluster
        32 reserved sectors
First FAT starts at byte 16384 (sector 32)
         2 FATs, 32 bit entries
    806912 bytes per FAT (= 1576 sectors)
Root directory start at cluster 2 (arbitrary size)
Data area starts at byte 1630208 (sector 3184)
    201616 data clusters (103227392 bytes)
32 sectors/track, 64 heads
         0 hidden sectors
    204800 sectors total
Starting check/repair pass.
Orphaned long file name part "Wyk:052ad"
  Auto-deleting.
/wyk:052ad
  Bad file name.
  Auto-renaming it.
  Renamed to FSCK0000.000
/wyk:052ad
  File size is 0 bytes, cluster chain length is > 0 bytes.
  Truncating file to 0 bytes.
Reclaiming unconnected clusters.
Reclaimed 1 unused cluster (512 bytes) in 1 chain.
Checking free cluster summary.
Free cluster summary wrong (201613 vs. really 201614)
  Auto-correcting.
Starting verification pass.
Wrong checksum for long file name "wyk:052ad".
  (Short name FSCK0000.000 may have changed without updating the long name)
  Not auto-correcting this.
/wyk:052ad
 Start does point to root directory. Deleting dir. 
Checking for unused clusters.
Performing changes.
/dev/loop0: 2 files, 2/201616 clusters


$ LANG=en_US.UTF-8  ls -Rla
.:
total 9
drwxrwxrwx   3 root root  512 2009-07-25 20:29 .
drwxrwxrwt. 23 root root 4096 2009-07-25 20:02 ..
-rwxr-xr-x   1 root root  512 1979-12-31 23:00 fsck0000.rec


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (x86_64)

Kernel: Linux 2.6.30.2-orbiter.x86-64.1 (PREEMPT)
Locale: LANG=pl_PL.UTF-8, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages dosfstools depends on:
ii  libc6                         2.9-21     GNU C Library: Shared libraries

dosfstools recommends no packages.

dosfstools suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to