Randy McMurchy wrote:
> Bruce Dubbs wrote these words on 02/11/07 17:47 CST:
>
>> I don't. I do the following:
>>
>> before=`df -k / | grep / | sed -e "s/ \{2,\}/ /g" | cut -d' ' -f3`
>> tar -xf $DIR/$PROGRAM.tar.?z* || exit
>>
>> cd $PROGRAM
>> ....
>>
>> I then compare $before with the current df size. This then only
>> measures the increase from the unpack, build, and install of the
>> package.
>
> If this is the case, and you say in a later email that you don't
> count the size of the log files, then your 'working' directory (I'm
> guessing /home/...) must be mounted on a separate partition, or,
> you delete your log files before you run the second df.
>
> Just out of curiosity, which is it?
>
$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda5 8.1G 4.9G 2.9G 63% /
/dev/sda7 7.4G 4.7G 2.3G 68% /home
/dev/sda3 99M 28M 67M 29% /boot
/dev/sda9 4.6G 2.0G 2.5G 45% /opt
/dev/sda10 9.2G 6.7G 2.2G 76% /usr/src
-- Bruce
--
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page