Date: Fri, 23 May 2008 06:26:49 -0700 From: David Wolfskill <david@catwhisker.org> To: KAYVEN RIESE <kayve@sfsu.edu> Cc: freebsd-hackers@freebsd.org Subject: Re: /usr/src/Makefile instructions Message-ID: <20080523132649.GB69430@bunrab.catwhisker.org> In-Reply-To: <Pine.SOC.4.64.0805230546140.28091@libra.sfsu.edu> References: <Pine.SOC.4.64.0805230546140.28091@libra.sfsu.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
--61jdw2sOBCFtR2d/ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, May 23, 2008 at 05:49:48AM -0700, KAYVEN RIESE wrote: >=20 > My professor told me about instructions being in /usr/src/Makefile > for rebuilding my world. I feel better about following them because > they are close to the command line to me and can't be out of date, right? No. Any comments or documentation *can* be "out of date" or otherwise misleading or incorrect. > I am looking at this list of makes: Err.. that would be "make targets," yeah? > # check-old - List obsolete directories/files/libraries. > # check-old-dirs - List obsolete directories. > # check-old-files - List obsolete files. > # check-old-libs - List obsolete libraries. > # delete-old - Delete obsolete directories/files/libraries. > # delete-old-dirs - Delete obsolete directories. > # delete-old-files - Delete obsolete files. > # delete-old-libs - Delete obsolete libraries. > # >=20 >=20 > I am wondering if I should try these out, or will it just be > taken care of with the "cannonical" methods. I expect that depends a great deal on what your objectives are. If you are merely trying to keep a system up-to-date, you are (IMO) better off reading, then paying attention to changes in, /usr/src/UPDATING. If, on the other hand, you are curious about just what make(1) will do when told to make a given target, by all means experiment to your heart's content (on your own system(s)). But I encourage you to consider the utility of the "-n" flag to make(1). Well, that, as well as the value of good backup & restore procedures. > I seem to have lots > of big problems with my configuration.. I don't know. Things > work, but dmesg has errors, and many ports fail and their makes, > even if they succeed have errors and warnings. >=20 > If I "delete-old-.." will I be messing things up? Hard to say without more information about your current configuration than is likely to fit in a message to the mailing list. If the complaints are sufficiently severe (note that the mere quantity of them isn't a relaible measure of this), you may be better off recording salient configuration information (e.g., what ports you tried to install), make a good backup (assuming there's data worth recovering), wiping the system clean, and starting over. It is certainly possible to mess a system up enough that recovery is problematic, at best. Peace, david --=20 David H. Wolfskill david@catwhisker.org I submit that "conspiracy" would be an appropriate collective noun for cats. See http://www.catwhisker.org/~david/publickey.gpg for my public key. --61jdw2sOBCFtR2d/ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iEYEARECAAYFAkg2xhgACgkQmprOCmdXAD2wkwCffYLMcatUeykwevvVO94u+uMp Fy4AniFD6cLvvKsN+ZoFwIcJUuImnrTT =L7ac -----END PGP SIGNATURE----- --61jdw2sOBCFtR2d/--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080523132649.GB69430>