Steve Crosby wrote:
> In section 2.2, we have the statement
> 
> "A minimal system requires a partition of around 1.3 gigabytes (GB).
> This is enough to store all the source tarballs and
> compile the packages."

At one time, that was true.  Since then packages have increased in size.

> I created a 2GB partition, and ran out of space during the make phase
> of 6.17 GCC
> 
> The package details in that section show the disk space used as 1.7GB
> 
> "6.17. GCC-4.6.1
> The GCC package contains the GNU compiler collection, which includes
> the C and C++ compilers.
> Approximate build time: 47 SBU
> Required disk space: 1.7 GB"

Those numbers are more accurate since we measure them at each build:

             [gcc]
Build time is:                78 minutes and 35 seconds
Build time in seconds is:           4715
Approximate SBU time is:            46.7
Disk usage before unpacking the package:     1076008 KB or 1050.789 MB
Disk usage before deleting the source and build dirs: 2812220 KB or 
2746.309 MB
Required space to build the package:         1736212 KB or 1695.520 MB
Installed files disk usage:            229280 KB or 223.906 MB

This is the high water mark for me in LFS.  There are some BLFS packages 
that take a significant amount of space (TexLive > 1G, Iced Tea > 1G, 
Qt4 > 1.5G, etc).

> Perhaps the numbers need some tweaking? I'll resize the partition
> higher and start chapter 6 again, and see if i can rememeber to keep
> an eye on used sizes.

Disk space is pretty cheap.  I generally use 10G.  Right now, my disk 
usage looks like:

Filesystem      Size  Used Avail Use% Mounted on
/dev/sda8       9.9G  3.3G  6.2G  35% /
tmpfs           1.5G  296K  1.5G   1% /run
/dev/sda1        99M   76M   18M  81% /boot
/dev/sda9        40G  8.8G   29G  24% /usr/src
/dev/sda11      9.9G  2.0G  7.4G  22% /home
/dev/sda5       9.9G  1.5G  7.9G  16% /mnt/lfs

But I have 1.5G in /tmp from test builds that could be deleted.

I just made a change to update for the current factors.

   -- Bruce


-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to