* [CHECKER] sync doesn't flush everything out (msdos and vfat, 2.6.11)
@ 2005-03-12 10:36 Junfeng Yang
2005-03-12 15:51 ` OGAWA Hirofumi
0 siblings, 1 reply; 4+ messages in thread
From: Junfeng Yang @ 2005-03-12 10:36 UTC (permalink / raw)
To: chaffee; +Cc: mc, Linux Kernel Mailing List
Hi,
This is yet another report from FiSC :) This time FiSC complains that
sync on msdos and vfat doesn't flush everything out. Crash after sync
still causes data loss.
Test cases and crashed disk images can be found at
http://fisc.stanford.edu/bug8 (msdos)
http://fisc.stanford.edu/bug11 (vfat)
Confirmations/clarifications are apprecitaed.
-Junfeng
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [CHECKER] sync doesn't flush everything out (msdos and vfat, 2.6.11)
2005-03-12 10:36 [CHECKER] sync doesn't flush everything out (msdos and vfat, 2.6.11) Junfeng Yang
@ 2005-03-12 15:51 ` OGAWA Hirofumi
2005-03-13 6:07 ` Junfeng Yang
0 siblings, 1 reply; 4+ messages in thread
From: OGAWA Hirofumi @ 2005-03-12 15:51 UTC (permalink / raw)
To: Junfeng Yang; +Cc: chaffee, mc, Linux Kernel Mailing List
Junfeng Yang <yjf@stanford.edu> writes:
> Test cases and crashed disk images can be found at
> http://fisc.stanford.edu/bug8 (msdos)
> http://fisc.stanford.edu/bug11 (vfat)
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)...
--
OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [CHECKER] sync doesn't flush everything out (msdos and vfat, 2.6.11)
2005-03-12 15:51 ` OGAWA Hirofumi
@ 2005-03-13 6:07 ` Junfeng Yang
2005-03-13 12:22 ` OGAWA Hirofumi
0 siblings, 1 reply; 4+ messages in thread
From: Junfeng Yang @ 2005-03-13 6:07 UTC (permalink / raw)
To: OGAWA Hirofumi; +Cc: chaffee, mc, Linux Kernel Mailing List
> 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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [CHECKER] sync doesn't flush everything out (msdos and vfat, 2.6.11)
2005-03-13 6:07 ` Junfeng Yang
@ 2005-03-13 12:22 ` OGAWA Hirofumi
0 siblings, 0 replies; 4+ messages in thread
From: OGAWA Hirofumi @ 2005-03-13 12:22 UTC (permalink / raw)
To: Junfeng Yang; +Cc: chaffee, mc, Linux Kernel Mailing List
Junfeng Yang <yjf@stanford.edu> writes:
> /å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.
The 0004 seems to be already deleted directory actually, because first
char is 0xE5 (0xE5 is deleted mark).
Please download fixed dosfsck
http://user.parknet.co.jp/hirofumi/tmp/fatfsprogs.tar.bz2
--
OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2005-03-13 12:22 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-12 10:36 [CHECKER] sync doesn't flush everything out (msdos and vfat, 2.6.11) Junfeng Yang
2005-03-12 15:51 ` OGAWA Hirofumi
2005-03-13 6:07 ` Junfeng Yang
2005-03-13 12:22 ` OGAWA Hirofumi
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.