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?
--
Randy
rmlscsi: [bogomips 1003.26] [GNU ld version 2.16.1] [gcc (GCC) 4.0.3]
[GNU C Library stable release version 2.3.6] [Linux 2.6.14.3 i686]
17:54:00 up 32 days, 18:08, 1 user, load average: 0.02, 0.04, 0.01
--
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page