Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Dec 2022 15:13:03 +0100
From:      Polytropon <freebsd@edvax.de>
To:        "Dan Mahoney (Ports)" <freebsd@gushi.org>
Cc:        Ian Smith <smithi@nimnet.asn.au>, Polytropon <freebsd@edvax.de>, "Kevin P. Neal" <kpn@neutralgood.org>, "Steve O'Hara-Smith" <steve@sohara.org>, "questions@freebsd.org" <questions@FreeBSD.org>
Subject:   Re: 12.4 disc 1 iso is really large
Message-ID:  <20221211151303.8731020f.freebsd@edvax.de>
In-Reply-To: <30F66AE4-985D-48E1-8EE7-DE4FF712CB75@gushi.org>
References:  <4AC6140B-2927-46C4-8405-18FA872DEAB5@gushi.org> <20221209050452.40918a6bcccb953c197ecec6@sohara.org> <Y5QPnrqluEtgLrNn@neutralgood.org> <20221210072243.9109d9c9.freebsd@edvax.de> <6B0B7DD7-8562-4E77-8809-768DB6E8ADFC@nimnet.asn.au> <30F66AE4-985D-48E1-8EE7-DE4FF712CB75@gushi.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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, ...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20221211151303.8731020f.freebsd>