[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    Re: df k,m and h options don't do anything in 1.13.1
From:       Aras Vaichas <arasv () magtech ! com ! au>
Date:       2008-12-15 23:21:52
Message-ID: 4946E690.8050704 () magtech ! com ! au
[Download RAW message or body]

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 
______________________________________________________________________
[".config.gz" (application/gzip)]

_______________________________________________
busybox mailing list
busybox@busybox.net
http://busybox.net/cgi-bin/mailman/listinfo/busybox

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic