Re: [CHECKER] crash + fsck cause file systems to contain loops(msdos and vfat, 2.6.11)

From: OGAWA Hirofumi
Date: Sat Mar 12 2005 - 09:33:44 EST

Junfeng Yang <yjf@xxxxxxxxxxxx> writes:

>> Linus's current tree includes support for `mount -o sync' on the msdos and
>> vfat filesystems.
> Thanks Andrew. I can just do a bk clone from
> to get Linus's current tree, right?
> The warning reported here doesn't need mount -o sync to trigger though.
> A simple crash on a default mounted FS can usually cause the FS loop.
> (Also, I realized I made many typos in my report --- this implies I'm
> tired and should probably get some sleep :)


$ /devel/linux/works/fatfs/fatfstools/dosfstools-2.10/dosfsck/dosfsck -a bug10/crash.img
dosfsck 2.10, 22 Sep 2003, FAT32, LFN
Directory does not have any cluster ("." and "..").
Dropping it.
Reclaimed 3 unused clusters (6144 bytes) in 3 chains.
Performing changes.
crash.img: 8 files, 3/8167 clusters

My fixed dosfsck found the above corruption in bug10/crash.img (bug7
has same corruption). And probably you can see root directory via 0006
directory, I guess your testing tree didn't have my patches yet (seems
old behavior).

BTW, what mount options did you use?

OGAWA Hirofumi <hirofumi@xxxxxxxxxxxxxxxxxx>
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at