Comment 16 for bug 48806

Revision history for this message
Kevin Atkinson (kevin-ubuntu) wrote : Re: vfat filesystems checked by fsck

kevina@kevina-labtop:~$ sudo dosfsck -v -n /dev/hda3
dosfsck 2.11 (12 Mar 2005)
dosfsck 2.11, 12 Mar 2005, FAT32, LFN
Checking we can access the last sector of the filesystem
Boot sector contents:
System ID "MSWIN4.1"
Media byte 0xf8 (hard disk)
       512 bytes per logical sector
     16384 bytes per cluster
        32 reserved sectors
First FAT starts at byte 16384 (sector 32)
         2 FATs, 32 bit entries
   6426624 bytes per FAT (= 12552 sectors)
Root directory start at cluster 2 (arbitrary size)
Data area starts at byte 12869632 (sector 25136)
   1606216 data clusters (26316242944 bytes)
63 sectors/track, 255 heads
 104872320 hidden sectors
  51424065 sectors total
/CONQUEROR_OF_SHAMBALLA.I00
  File size is 0 bytes, cluster chain length is > 0 bytes.
  Truncating file to 0 bytes.

And then it hangs taking up 100% of the CPU. So it did indeed corrupt that file by truncating it!

You really shouldn't be running fsck on non-native Linux partitions!