Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Oct 2009 17:08:09 +0200
From:      Roland Smith <rsmith@xs4all.nl>
To:        herbert langhans <herbert.raimund@gmx.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Deleting the kernel source - just with #rm?
Message-ID:  <20091004150809.GA73704@slackbox.xs4all.nl>
In-Reply-To: <20091004131504.GB1406@sandcat>
References:  <20091004131504.GB1406@sandcat>

next in thread | previous in thread | raw e-mail | index | archive | help

--9amGYk9869ThD9tj
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun, Oct 04, 2009 at 03:15:05PM +0200, herbert langhans wrote:
> I just compiled a nice, slim kernel on my laptop, but I dont want to carry
> all the kernel sources around there.

Keep in mind that some ports (those that contain kernel modules) require the
kernel sources.

On my 7.2-RELEASE-p4 machine, /usr/src uses 495 MiB according to du(1). A
bzip2 compressed tar archive of /usr/src weighs in at 83 MiB.

If you are suffering from space constraints, consider doing a trimmed-down
buildworld (on an external disk or on another machine) as well. Using
src.conf(5) you can exclude a lot of stuff from the base system if you don't
need it.

Roland
--=20
R.F.Smith                                   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)

--9amGYk9869ThD9tj
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.13 (FreeBSD)

iEYEARECAAYFAkrIulkACgkQEnfvsMMhpyXbRwCcDpul2ftesCEYLcoQ0bmfYWZY
50cAnj7KEA7l+qneS9oGDV5vYcPtG7Zs
=oqe2
-----END PGP SIGNATURE-----

--9amGYk9869ThD9tj--



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