Filesystem overhead

Ben Boulanger ben at blackavar.com
Mon Jul 28 19:50:28 EDT 2003


On Mon, 28 Jul 2003 bscott at ntisys.com wrote:
>   For example, I have an image of a data CD in a single file.  The actual
> size of the logical file (as reported by "stat", "ls", and other tools) is
> 526,397,440 bytes.  However, the "du" utility says it uses 526,917,632
> bytes.  That is a difference of 520,192 bytes, or almost half a megabyte.

if I remember correctly, it's that du gets the size in K and then if you
ask for bytes, converts the K to bytes... but it's been awhile.  Silly, I
know... but that's what I recall learning in college.

-- 

An inch of time is an inch of gold but you can't buy that inch of time with
an inch of gold. 




More information about the gnhlug-discuss mailing list