df k,m and h options don't do anything in 1.13.1
Denys Vlasenko
vda.linux at googlemail.com
Mon Dec 15 07:06:30 UTC 2008
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.
Work for me (my .config is attached):
# ./busybox df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/root 964500 630308 285196 69% /
/dev/sda6 15622684 9953956 5668728 64% /.share
/dev/sda7 97656112 94829840 2826272 97% /.1
/dev/sda8 171930376 150818296 21112080 88% /.2
/dev/sda6 15622684 9953956 5668728 64% /.local
# ./busybox df -k
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/root 964500 630308 285196 69% /
/dev/sda6 15622684 9953956 5668728 64% /.share
/dev/sda7 97656112 94829840 2826272 97% /.1
/dev/sda8 171930376 150818296 21112080 88% /.2
/dev/sda6 15622684 9953956 5668728 64% /.local
# ./busybox df -m
Filesystem 1M-blocks Used Available Use% Mounted on
/dev/root 942 616 279 69% /
/dev/sda6 15257 9721 5536 64% /.share
/dev/sda7 95367 92607 2760 97% /.1
/dev/sda8 167901 147283 20617 88% /.2
/dev/sda6 15257 9721 5536 64% /.local
# ./busybox df -h
Filesystem Size Used Available Use% Mounted on
/dev/root 941.9M 615.5M 278.5M 69% /
/dev/sda6 14.9G 9.5G 5.4G 64% /.share
/dev/sda7 93.1G 90.4G 2.7G 97% /.1
/dev/sda8 164.0G 143.8G 20.1G 88% /.2
/dev/sda6 14.9G 9.5G 5.4G 64% /.local
# ./busybox df --help
BusyBox v1.13.1 (2008-12-15 08:01:47 CET) 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
--
vda
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/x-gzip
Size: 5182 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/busybox/attachments/20081215/b0bbfeb4/attachment-0002.bin
More information about the busybox
mailing list