bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

df & du should honor $BLOCKSIZE


From: Peter Seebach
Subject: df & du should honor $BLOCKSIZE
Date: Fri, 20 Feb 2004 14:47:52 -0600

$ du /boot
677     /boot/grub
37917   /boot
$ du -m /boot
1       /boot/grub
38      /boot
$ BLOCKSIZE=1m du /boot
677     /boot/grub
37917   /boot

This seems wrong.  The user setting $BLOCKSIZE presumably intends it to
do exactly what it does on many other systems - provide a default blocksize
to be used by applications that haven't been specifically instructed
otherwise.

This appears to apply also to df.

-s




reply via email to

[Prev in Thread] Current Thread [Next in Thread]