"show directory sizes" gives wrong values

christian laubscher christian.laubscher at tiscalinet.ch
Tue Jan 14 07:16:09 UTC 2003


On Tue, Jan 14, 2003 at 02:02:34AM -0500, bulia byak wrote:
[...]
> mc reports only 2147483 bytes [...]
if it was kilobytes: 2147483647==2**31-1?

[...]
> 35108 Kb is reported by du but 27733K is seen by mc. 
> Perhaps this latter case can be ascribed to different methods 
> of determining file sizes, [...]

maybe du takes space usage, which is a multible of blocksize, while
mc adds up filesizes as reported by ls or stat?

-- 
phone  +41 61 463 02 25
fax    +41 61 463 02 28
gsm    +41 79 522 50 09
email  christian.laubscher at tiscalinet.ch



More information about the mc mailing list