[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: df bug with a big vfat partition
From: |
Paul Eggert |
Subject: |
Re: df bug with a big vfat partition |
Date: |
Mon, 29 Mar 2004 22:37:49 -0800 |
User-agent: |
Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) |
Nicolas BENOIT <address@hidden> writes:
> When I run df (df /dev/hda7 -h -T for instance), I got the following
> output:
> Filesystem Type Size Used Avail Use% Mounted on
> /dev/hda7 vfat 126G 35G 91G 28% /mnt/prtg
>
> The problem is that I haven't as much free space!
What does strace tell you about the statfs system call that df uses to
find out the space information? For example, here's what I see on my
box running coreutils 5.2.1:
$ df . -h -T
Filesystem Type Size Used Avail Use% Mounted on
/dev/hda5 ext3 68G 7.8G 56G 13% /home
$ strace df . -h -T 2>&1 | grep statfs
statfs("/home", {f_type="EXT2_SUPER_MAGIC", f_bsize=4096, f_blocks=17578039,
f_bfree=15549458, f_files=8929280, f_ffree=8451951, f_namelen=255}) = 0
$ uname -a
Linux penguin 2.4.18-1-686.eggert #1 Wed Mar 10 11:45:48 PST 2004 i686 unknown
unknown GNU/Linux