From owner-freebsd-questions Wed Jun 26 10: 5: 4 2002 Delivered-To: freebsd-questions@freebsd.org Received: from pcwin002.win.tue.nl (pcwin002.win.tue.nl [131.155.71.72]) by hub.freebsd.org (Postfix) with ESMTP id E364137B40B for ; Wed, 26 Jun 2002 10:04:26 -0700 (PDT) Received: from pcwin002.win.tue.nl (orb_rules@localhost [127.0.0.1]) by pcwin002.win.tue.nl (8.12.3/8.12.3) with ESMTP id g5QH4PNi060040; Wed, 26 Jun 2002 19:04:25 +0200 (CEST) (envelope-from stijn@pcwin002.win.tue.nl) Received: (from stijn@localhost) by pcwin002.win.tue.nl (8.12.3/8.12.3/Submit) id g5QH4Pbc060039; Wed, 26 Jun 2002 19:04:25 +0200 (CEST) Date: Wed, 26 Jun 2002 19:04:25 +0200 From: Stijn Hoop To: Kim Scarborough Cc: freebsd-questions@freebsd.org Subject: Re: Getting rid of userland junk Message-ID: <20020626170425.GB59836@pcwin002.win.tue.nl> References: <006201c21d23$c05fa630$23638780@uchicago.edu> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="zx4FCpZtqtKETZ7O" Content-Disposition: inline In-Reply-To: <006201c21d23$c05fa630$23638780@uchicago.edu> User-Agent: Mutt/1.4i X-Bright-Idea: Let's abolish HTML mail! Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --zx4FCpZtqtKETZ7O Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jun 26, 2002 at 10:11:30AM -0500, Kim Scarborough wrote: > I'd like to strip FreeBSD down as much as possible on a few boxes. I have= all > the stuff I don't want, like sendmail, ssh, and uucp, disabled in make.co= nf, > so the buildworld doesn't bother with them, which is good... but is there= an > easy way to figure out what I can delete now? There seems to be no good w= ay to > actually remove these components; one can only stop them from being updat= ed. > Is there a master packing list somewhere, or do I just need to navigate > through all the Makefiles? Well, you could do an installworld and then go through the various system directories like /bin, /usr/bin etc. to see which files have changed and which didn't - obviously the ones that didn't will not be needed anymore. ls -ltr is a handy tool, find(1) should also be able to help you. I've been doing this on a semi-regular basis with my tracking of -STABLE; there's a lot of cruft left over if you don't do something like this. HTH, --Stijn --=20 The right half of the brain controls the left half of the body. This means that only left handed people are in their right mind. --zx4FCpZtqtKETZ7O Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE9GfQZY3r/tLQmfWcRAiwkAKCk51DJ/O393/0AKsBirU633YK9lACgtr+l s/XudTqjp5lIeM2ntFsO/1M= =VV8L -----END PGP SIGNATURE----- --zx4FCpZtqtKETZ7O-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message