[Top][All Lists]

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

Re: Incorrect behavior in df -P

From: James Youngman
Subject: Re: Incorrect behavior in df -P
Date: Tue, 27 Jun 2006 19:55:43 +0100

On 6/25/06, Toby Murray <address@hidden> 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



reply via email to

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