[Gllug] `du' errors?

Pete Ryland pdr at pdr.cx
Wed Oct 30 00:26:07 UTC 2002


On Wed, Oct 30, 2002 at 12:13:48AM +0000, Garry Heaton wrote:
> `du -b' gives 114688 which is still 112k, ie. wildly inaccurate as the
> total byte-count is 66374, excluding ./ and ../
> 
> What am I missing? I can't think of a use for this tool if it gives
> results like these.

du gives disk usage.  For example, a one byte file will use up one inode.
If your inodes are, say, 8 KiB then du will report this much usage for it.

Pete

-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list