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

Re: [MiNT] broken du



2010/1/13 Vincent Rivière <vincent.riviere@freesbee.fr>:
> Miro Kropacek wrote:
>>
>> anyone else noticed broken du (from sparemint / easymint) ? For example,
>> try to unpack my gcc+binutils (everything in /usr/local) and type "du
>> -hs /usr/local". I get 3.5 MB what is clearly wrong (even .tar.bz2-ed
>> archives aren't that short)
>
> There is a mess with block sizes.
> I had started investigating that, but I didn't finish.
> There is black magic there.
>
> --
> Vincent Rivière
>
so atm, the theory is:
du has some hard coded block sizes, or
du mis-calculates the block sizes

Paul