Hello, On Tue, 2004-03-30 at 08:37, Paul Eggert wrote: > Nicolas BENOIT <[EMAIL PROTECTED]> 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
$df /dev/hda7 -h -T Filesystem Type Size Used Avail Use% Mounted on /dev/hda7 vfat 126G 35G 91G 28% /mnt/prtg $strace df /dev/hda7 -h -T 2>&1 | grep statfs statfs("/mnt/prtg", {f_type="MSDOS_SUPER_MAGIC", f_bsize=32768, f_blocks=4120920, f_bfree=2971459, f_files=0, f_ffree=0, f_namelen=260}) = 0 $uname -a Linux big-gnu 2.4.25-big-gnu #5 SMP Fri Mar 26 20:02:27 CET 2004 i686 unknown unknown GNU/Linux I hope this will help, Nicolas. -- +-----------------------------------+ | Nicolas BENOIT | | http://nbenoit.tuxfamily.org | | | | .~. | | /V\ Gnu - Linux | | // \\ http://www.slackware.com | | /( )\ | | ^^-^^ | +-----------------------------------+ _______________________________________________ Bug-coreutils mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-coreutils