editor's guide questions

Matthew Burgess matthew at linuxfromscratch.org
Thu Jun 9 10:42:14 PDT 2005

Archaic wrote:
> On Wed, Jun 08, 2005 at 10:29:33PM -0600, Archaic wrote:
>>2b) How are we getting installed size? Bruce, I noticed you do
>>    df -k $LFS | grep $LFS | sed -e "s/ \{2,\}/ /g" | cut -d' ' -f3, but
>>    df -k /x |grep /x | awk ' { print $3 }' is less expensive. Either
>             ^^       ^^
> /x was just a quick example that I CnP'd. I forgot to change it to $LFS.

My calculations depend on my script that finds newly installed files. 
That script outputs an 'fprintf' format from `find' that includes the 
size of the installed file.  My size calculations just do a sum of that 



More information about the lfs-dev mailing list