Re: 12.4 disc 1 iso is really large

From: Polytropon <freebsd_at_edvax.de>
Date: Sun, 11 Dec 2022 14:13:03 UTC
On Sat, 10 Dec 2022 16:58:00 -0600, Dan Mahoney (Ports) wrote:
> 
> 
> > On Dec 10, 2022, at 11:47 AM, Ian Smith <smithi@nimnet.asn.au> wrote:
> > [...]
> > But full installers, even without any packages, really can't;
> > everything has swollen that much.  Here are sizes >1MiB on
> > (amd64) disc1:
> > 
> > 2      /bin
> > 2      /etc
> > 3      /var
> > 8      /sbin
> > 13    /lib
> > 156  /boot
> > 812  /usr
> > 993  /
> > 
> > 3     /usr/libexec
> > 19   /usr/sbin
> > 20   /usr/lib
> > 40   /usr/bin
> > 127 /usr/share
> > 605 /usr/freebsd-dist
> > 812 /usr
> > 
> > /usr/freebsd-dist has, all as .txz:
> > tests            13
> > kernel         44
> > ports           45
> > lib32           62
> > kernel-dbg 83
> > src             171
> > base          191
> > total 605MB

First of all, Ian, thanks for clarification. So FreeBSD ("the OS")
has been subject to significant bloat, oh well...

Dan, I agree with most of your statements except one:

> Src is outdated as soon as it’s extracted in most cases, and
> user education as to “here’s how you get the source if you
> need it” would serve us better.

For an offline installation, having /usr/src present is the
only way you can still build a custom kernel. Remember that
you don't need any online resource to do this - /usr/src is
fully sufficient, as the OS contains all development tools
needed. Additionally, I cannot imagine a compressed (!) src
distribution should be significantly big.

If you consider this, your statement about the ports collection
is fully valid:

> Ports basically requires an active internet connection to
> build anything — putting it on the disc is largely pointless.
> Portsnap is in base.

Ports cannot be used without Internet connection, and in most
cases, you'd check out "quarterly" or "current" anyway (or
use pkg). However, I doubt the compressed ports collection,
just being text files, would lead to much less disc capacity
consumption...

So it's time for a more efficient compression program! ;-)




-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...