From owner-freebsd-questions@FreeBSD.ORG Tue Aug 24 23:08:06 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3576116A4CE for ; Tue, 24 Aug 2004 23:08:06 +0000 (GMT) Received: from frontend1.messagingengine.com (frontend1.messagingengine.com [66.111.4.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8DEBB43D1D for ; Tue, 24 Aug 2004 23:08:04 +0000 (GMT) (envelope-from nkinkade@fastmail.fm) X-Sasl-enc: /eiqZ2SnK7M7nLB46Ml12A 1093388881 Received: from gentoo-npk.bmp.ub (unknown [206.27.244.136]) by www.fastmail.fm (Postfix) with ESMTP id 8E848C14CD4; Tue, 24 Aug 2004 19:08:01 -0400 (EDT) Received: from nkinkade by gentoo-npk.bmp.ub with local (Exim 4.21) id 1BzkNG-0007xw-QU; Tue, 24 Aug 2004 17:06:42 -0600 Date: Tue, 24 Aug 2004 17:06:42 -0600 From: Nathan Kinkade To: August Simonelli Message-ID: <20040824230642.GR3767@gentoo-npk.bmp.ub> Mail-Followup-To: August Simonelli , freebsd-questions@freebsd.org References: <46fa40c104082403205419fd65@mail.gmail.com> <20040824143236.GM3767@gentoo-npk.bmp.ub> <46fa40c104082415322575cdc1@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="6tPipYVl+OcoAvSh" Content-Disposition: inline In-Reply-To: <46fa40c104082415322575cdc1@mail.gmail.com> User-Agent: Mutt/1.5.6i Sender: cc: freebsd-questions@freebsd.org Subject: Re: uname -v shows no difference after buildkernel and installkernel etc X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Nathan Kinkade List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Aug 2004 23:08:06 -0000 --6tPipYVl+OcoAvSh Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Aug 25, 2004 at 08:32:48AM +1000, August Simonelli wrote: > > > August > >=20 > > What does your symlink look like? So you put the newly built kernel in > > /root/kernels, then did something like?: > >=20 > > # ln -s /root/kernels/mykernel /boot/kernel/kernel >=20 >=20 > I followed the example in 8.3: >=20 > # cd /usr/src/sys/i386/conf > # mkdir /root/kernels > # cp GENERIC /root/kernels/MYKERNEL =20 > # ln -s /root/kernels/MYKERNEL >=20 > so now I have the following symlink: >=20 > /usr/src/sys/i386/conf/MYCUSTOM -> /root/kernels/MYCUSTOM >=20 > and I built and installed with that as my KERNCONF value. I do still > have GENERIC sitting in that directory. Does it use GENERIC first by > default? >=20 > Thanks again, >=20 > august I apologize, when you said: "... did a custom kernel (placing in /root/kernels ..." I took it too literally, thinking that for some odd reason you had put the actual built (binary) kernel into /root/kernels and were symlinking =66rom /boot/kernel to that directory, as opposed to simply putting the kernel config file there. However, is it just a typing mistake that you say you link to MYKERNEL, but you say the actual links points to MYCUSTOM? Also, what does an `ls -l /boot/kernel/kernel` reveal? Does the modification time coincide with the time you actually built your custom kernel? Nathan Side note --------- I once tried the advice to put custom kernel config files at a subdirectory of /root, but personally found this more confusing in the long run. In about 5 years of running FreeBSD and building custom kernels I have never deleted the entire /usr/src directory and subsequently realized I had blasted my only copy of a custom kernel config. I personally found it to be one more layer of indirection that hassled me from time to time, and it was one more thing I had to remember. If I were worried about the possibility of deleting my custom kernel config files accidentally while one day recursively removing /usr/src, then I would personally prefer to just copy that kernel config to some other location for safe keeping. It's just my personal preference. One of the things that is so distressing to me about certain GNU/Linux distros is all the levels of indirection and seeming complexity - symlinks pointing to symlinks and things of that nature. -- PGP Public Key: pgp.mit.edu:11371/pks/lookup?op=3Dget&search=3D0xD8527E49 --6tPipYVl+OcoAvSh Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFBK8oCO0ZIEthSfkkRApmeAKDBx7yBEKveOf7H49fpQqLzYUGFWACaArld e74J/Oc9HXbZ8DT1R1JQEN0= =XIoa -----END PGP SIGNATURE----- --6tPipYVl+OcoAvSh--