Dan Nicholson wrote:
> On 2/11/07, Ag. Hatzimanikas <[EMAIL PROTECTED]> wrote:
>> On Sun, Feb 11, at 12:52 Randy McMurchy wrote:
>>> 8. I'm showing a significant difference in disk space used (The book
>>> shows 823MB, my logs show 157MB). Can anyone provide some additional
>>> info from their own logs?
>>>
>> Exactly 157.
> 
> I'm seeing 183 including all the tarballs, log, build and installed files.
> 
>> Speaking about disk space sizes,I noticed some differences with mines in some
>> packages e.g lynx,so I thought I was doing something wrong.
>> Just to be sure,you don't count the tarball size into it,right?
> 
> Some of the disk space sizes are certainly out of date, but I thought
> we did count the tarball sizes. Randy, Bruce?

I don't.  I do the following:


BUILDDIR=/tmp/packagename

rm -rf $BUILDDIR
mkdir -p $BUILDDIR
cd $BUILDDIR

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.  I usually do a 'make DESTDIR=$BUILDDIR/install and modify any
other install instructions so it does not exclude any files that might
be overwritten.

  -- bruce
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to