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

List:       busybox
Subject:    [BusyBox] bug#1142: Same problem with df & du
From:       Mark Whitley <markw () lineo ! com>
Date:       2001-03-28 19:54:55
[Download RAW message or body]

The other two programs that use make_human_readable, df and du, are also
making numbers human readable when they shouldn't.

$ df
Filesystem           1k-blocks      Used Available Use% Mounted on
/dev/hda4              8815404   6122928   2244668  73% /
/dev/hda1                62187      4946     54030   8% /boot
/dev/hda3              3958799    703400   3050571  19% /home/markw/mp3
juicy.lineo.com:/mp3  27276968  15448760  10442604  60% /home/markw/mp3/juicy
$ ./busybox df
Filesystem           1k-blocks      Used Available Use% Mounted on
/dev/hda4                 8.4M      5.8M      2.1M  73% /
/dev/hda1                  60k      4.8k       52k   8% /boot
/dev/hda3                 3.7M      686k      2.9M  19% /home/markw/mp3
juicy.lineo.com:/mp3       26M       14M      9.9M  60% /home/markw/mp3/juicy

$ du -s
9124    .
$ ./busybox du -s
summary
8.9k    .


Mark Whitley
markw@lineo.com




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

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