Disk Space Requirements

Matthew Burgess matthew at linuxfromscratch.org
Mon Sep 27 15:52:26 PDT 2004


Randy McMurchy wrote:
> Matthew Burgess wrote:
> 
>> Randy McMurchy wrote:
> 
> [snip]
> 
>>> I'm building a fresh testing environment and I can pass along
>>> the disk space usage for each package if y'all want me to.
>>
>>
>>
>> That'd be a great help, thanks.
> 
> 
> Well, then. I'll be happy to pass along the numbers when I
> finish. One more question though. It seems
> 
> du -b
> 
> and
> 
> du -h
> 
> result in grossly different numbers. For example, the
> linux-libc-headers package after untarring (source tree dir)
> 
> du -b = 15,142,699
> du -h = 24M
> 
> Which is the one to use? Over in BLFS, I use the higher number,
> whichever one it may be.
> 

That's odd (well, there's probably a good explanation for the 
difference, inodes/blocks/???).  I'd be prone to use 'du -sh'in cases 
like that.

Cheers,

Matt.



More information about the lfs-dev mailing list