bug-fileutils
[Top][All Lists]
Advanced

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

Re: du, kilobytes


From: Andries . Brouwer
Subject: Re: du, kilobytes
Date: Tue, 21 May 2002 02:49:26 +0200 (MEST)

        From address@hidden Mon May 20 14:31:06 2002
        Subject: du, kilobytes
        From: =?ISO-8859-1?Q?Dag_=D8ien?= <address@hidden>
        Content-Transfer-Encoding: 7bit

        >        This  page  describes  du  as  found in the fileutils-3.16
        >        package; other versions may differ slightly. Mail  correc-
        >        tions and additions to address@hidden and address@hidden
        >        and address@hidden .  Report bugs in  the  pro-
        >        gram to address@hidden
        >
        > GNU fileutils 3.16         August 1998

        Kilo is a SI prefix which always means 1000. Kilo never means anything 
        else in any special context. Kilo is an international standard prefix 
        which always means 1000.

Of course.

        In /bin/du on my slackware installation, kilobytes are used
        to describe blocks of 1024 bytes of data. This is wrong use
        of the prefix kilo.

You are not precise enough. /bin/du does not do so much talking.
Probably you refer to the du man page or info file or so.

Looking at the man page I noticed a typo. Corrected.
It now says

       -k, --kilobytes
              Print sizes in KiB (binary kilobytes, 1024  bytes).

       -m, --megabytes
              Print  sizes  in  MiB  (binary  megabytes,  1048576
              bytes).

Andries



reply via email to

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