Re: [CHECKER] sync doesn't flush everything out (msdos and vfat,2.6.11)

From: Junfeng Yang
Date: Sun Mar 13 2005 - 01:15:59 EST


> vfat and msdos doesn't support the link(), and the truncate() which
> extends size is not supported yet.
>
> This test seems to calling abort(0) by CHECK(ret)...

I updated the test case (basically just set CHECk to be a NOP). Can you
please download and re-run the test case? After reboot, run dosfsck -a on
the crashed disk, you'll see some output like:

dosfsck 2.10, 22 Sep 2003, FAT32, LFN
/å004 and
/0005
share clusters.
Truncating second to 0 bytes.
/0005
File size is 4 bytes, cluster chain length is 0 bytes.
Truncating file to 0 bytes.
Performing changes.
/dev/sbd0: 5 files, 4/8167 clusters

This causes file /0005 to be truncated to 0.

-Junfeng

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/