Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Apr 2001 09:17:49 +0100
From:      Nik Clayton <nik@freebsd.org>
To:        "Andrew R. Reiter" <arr@watson.org>
Cc:        freebsd-doc@freebsd.org
Subject:   Re: old man pages
Message-ID:  <20010417091749.A31213@canyon.nothing-going-on.org>
In-Reply-To: <Pine.NEB.3.96L.1010416170527.71948A-100000@fledge.watson.org>; from arr@watson.org on Mon, Apr 16, 2001 at 05:08:27PM -0400
References:  <Pine.NEB.3.96L.1010416170527.71948A-100000@fledge.watson.org>

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

--x+6KMIRAuhnl3hBn
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Apr 16, 2001 at 05:08:27PM -0400, Andrew R. Reiter wrote:
> i was randomly thinking about how when a make installworld (or the like)_
> is done, it does not take into account old man page versions, does it?  By
> this I mean, things like lkm(4) is pretty damn outdated and unused on a
> 4.x machine and so it's kind of not a necesity to have it installed or
> left as installed (from a previous installworld).  i would want to have
> the lkm(4) man page removed if it was still there from a previous
> installation because it has nothing to do with the current OS context
> (note, lkm(4) was just used as an example).
>=20
> if im touching on an old topic, i apologize.

The confident can do something like this;

   < after running "make installworld", "mergemaster", and so on >
   find /bin -name \* -mtime 2 -print | xargs rm

which will find all files that haven't been modified in the last two
days in /bin and delete them.  Since everything that you installed when
you ran "make installworld" will have been modified, this should only
delete the old stuff.

Other candidates for deletion include

   /sbin
   /usr/bin
   /usr/sbin
   /share

N
--=20
FreeBSD: The Power to Serve             http://www.freebsd.org/
FreeBSD Documentation Project           http://www.freebsd.org/docproj/

          --- 15B8 3FFC DDB4 34B0 AA5F  94B7 93A8 0764 2C37 E375 ---

--x+6KMIRAuhnl3hBn
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (FreeBSD)
Comment: For info see http://www.gnupg.org

iEYEARECAAYFAjrb/CsACgkQk6gHZCw343UJAACfYAkq0XLYbfRoEG//UeYUKw+4
rrYAnjeRrImmX8XXdXY2pM/TMQCvPmy2
=MxQ4
-----END PGP SIGNATURE-----

--x+6KMIRAuhnl3hBn--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message




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