df k,m and h options don't do anything in 1.13.1
Aras Vaichas
arasv at magtech.com.au
Mon Dec 15 23:21:52 UTC 2008
Denys Vlasenko wrote:
> On Monday 15 December 2008 06:36, Aras Vaichas wrote:
>
>> I'm running 1.13.1 with all hot-fixes.
>>
>> I just noticed that the k, m and h options don't work anymore.
>>
>
> Please send your .config.
>
>
It seems that I have to enable the "[*] Enable -a, -i, -B" option to
get k,m, and h working.
There is another problem now, the numbers are wrong by a factor of 1024.
I have 64MB of disk space, fd -h says I have 65.9GB!
/root # df --help
BusyBox v1.13.1 (2008-12-16 09:58:50 EST) multi-call binary
Usage: df [-Pkmhai] [-B SIZE] [FILESYSTEM...]
Print filesystem usage statistics
Options:
-P POSIX output format
-k 1024-byte blocks (default)
-m 1M-byte blocks
-h Human readable (e.g. 1K 243M 2G)
-a Show all filesystems
-i Inodes
-B SIZE Blocksize
/root # df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/root 69060276 9500396 56079400 14% /
/root # df -k
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/root 69060276 9500396 56079400 14% /
/root # df -h
Filesystem Size Used Available Use% Mounted on
/dev/root 65.9G 9.1G 53.5G 14% /
/root # df -m
Filesystem 1M-blocks Used Available Use% Mounted on
/dev/root 67442 9278 54765 14% /
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 5447 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/busybox/attachments/20081216/25bb7b23/attachment-0002.bin
More information about the busybox
mailing list