Different behavior of df

Javier Viguera javier.viguera at digi.com
Thu May 28 08:34:25 UTC 2009


Hi all,

I have seen that the behavior of "df" command has changed since previous 
version of busybox and it is also different from coreutils-6.10.

It works OK with no arguments, but when you pass as argument the root 
file system (/) it gives no output on newer busybox.

Tests:

> $ /bin/df --version
> df (GNU coreutils) 6.10
> Copyright (C) 2008 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.
> 
> Written by Torbjorn Granlund, David MacKenzie, and Paul Eggert.

> $ /bin/df /
> Filesystem           1K-blocks      Used Available Use% Mounted on
> /dev/sdb1             38753256  22909780  13890376  63% /

> $ ./busybox-1.11.3 df /
> Filesystem           1k-blocks      Used Available Use% Mounted on
> rootfs                38753256  22909780  13890376  62% /

> $ ./busybox-1.14.1 df /
> Filesystem           1K-blocks      Used Available Use% Mounted on

Is it a bug that new busybox (1.14) gives no info in this case?

Attached my .config file.

-- 
Regards,

Javier Viguera
Software Engineer

http://www.digi.com
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: busybox-1.14.1-config
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20090528/25a43d76/attachment-0001.diff>


More information about the busybox mailing list