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

Re: Bug#534408: debian-policy: Installed-Size is defined as "kilobytes" but dpkg-gencontrol fills it in with kibibytes



Russ Allbery <rra@debian.org> writes:

> Ben Finney <ben+debian@benfinney.id.au> writes:
>
>> If you're going that far, please perform one of the following:
>>
>>     s/rounded/fractions rounded up/
>>     s/rounded/fractions rounded down/
>>     s/rounded/fractions rounded to the nearest whole number/
>>
>> to disambiguate the calculation.
>
> Does du guarantee to do one of those?  

The specification at
http://www.opengroup.org/onlinepubs/009695399/utilities/du.html says:

    By default, file sizes shall be written in 512-byte units,
    rounded up to the next 512-byte unit.
-- 
Ben Pfaff 
http://benpfaff.org


Reply to: