On 6/25/06, Toby Murray <[EMAIL PROTECTED]> wrote:
The -P option uses a block size of 1024 when it should be using 512
unless the block size is explicitly given. From the man page:
-P Output in six columns, with heading `Filesystem N-blocks Used
Available Capacity Mounted on' (with N=512, but N=1024 when the
-k option is given).
But when you run "df -P" the output says:
Filesystem 1024-blocks Used Available Capacity Mounted on
/dev/hda3 76069416 37835316 38234100 50% /
In BSD it correctly uses a 512 block size.
As per the manpage and Info documentation, just use
POSIXLY_CORRECT=1 df -P
James.
_______________________________________________
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils