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

2005-05-10 Thread Carlos Rodrigues
OGAWA Hirofumi wrote: 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? "dosfsck" did find a problem in the free-cluster value. And al

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

2005-05-10 Thread OGAWA Hirofumi
Hi, Horms <[EMAIL PROTECTED]> 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 Ki

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

2005-05-10 Thread Horms
On Sat, May 07, 2005 at 06:24:29PM +0100, Carlos Rodrigues wrote: > Package: kernel-image-2.6.8-2-386 > Version: 2.6.8-13 > Severity: important > > > I have a 250Gb external USB 2.0 hard-drive formatted with FAT32 and "df" > always reports 64Kb of used space on it, although it contains a couple o