Messages in this thread | | | Subject | Re: statfs returns wrong values for 250Gb FAT fs | From | OGAWA Hirofumi <> | Date | Tue, 10 May 2005 21:00:51 +0900 |
| |
Hi,
Horms <horms@debian.org> writes:
>> printf("f_bsize = %ld blocks\nf_blocks = %ld blocks\nf_bfree = %ld blocks\nused = %ld blocks\n", >> stats.f_bsize, stats.f_blocks, stats.f_bfree, used); >> >> kib = stats.f_bsize / 1024; >> printf("total = %ld KiB\nfree = %ld KiB\nused = %ld KiB\n", >> kib * stats.f_blocks, >> kib * stats.f_bfree, >> kib * used);
Filesystem may have the corrupted free-cluster value.
I couldn't reproduce the problem on 2.6.12-rc4.
Could you try a recently dosfsck (dosfstools-2.11 or later)? Also could you send the output of above program?
Thanks. -- OGAWA Hirofumi <hirofumi@mail.parknet.co.jp> - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |