[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#308072: statfs returns wrong values for 250Gb FAT fs



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>



Reply to: