From owner-freebsd-questions@FreeBSD.ORG Fri May 14 11:50:49 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 6941216A4CE for ; Fri, 14 May 2004 11:50:49 -0700 (PDT) Received: from thalia.otenet.gr (thalia.otenet.gr [195.170.0.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id 797FA43D1F for ; Fri, 14 May 2004 11:50:48 -0700 (PDT) (envelope-from keramida@ceid.upatras.gr) Received: from gothmog.gr (patr530-b240.otenet.gr [212.205.244.248]) by thalia.otenet.gr (8.12.10/8.12.10) with ESMTP id i4EIocDs022100 for ; Fri, 14 May 2004 21:50:45 +0300 (EEST) Received: from gothmog.gr (gothmog [127.0.0.1]) by gothmog.gr (8.12.11/8.12.11) with ESMTP id i4DLnAxx017713 for ; Fri, 14 May 2004 00:49:10 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from giorgos@localhost) by gothmog.gr (8.12.11/8.12.11/Submit) id i4DLnAn3017712; Fri, 14 May 2004 00:49:10 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Date: Fri, 14 May 2004 00:49:10 +0300 From: Giorgos Keramidas To: Jan Christian Meyer Message-ID: <20040513214910.GA2334@gothmog.gr> References: <20040512074547.82863.qmail@web25005.mail.ukl.yahoo.com> <1765051546.20040512120849@ipb.redline.ru> <200405121735.50781.Jan.Christian.Meyer@idi.ntnu.no> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200405121735.50781.Jan.Christian.Meyer@idi.ntnu.no> cc: "Mikhail E. Zakharov" cc: freebsd-questions@freebsd.org Subject: Re: kernel X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 May 2004 18:50:49 -0000 On 2004-05-12 17:35, Jan Christian Meyer wrote: > > MYKERNEL is name of the custom kernel. If you want to build a new > > kernel, you must give it some name, for example MYKERNEL. snip > Just to add a little something for flavor, I've found it useful to > keep my config file elsewhere and use a symbolic link from > /usr/src/sys/i386/conf, i.e. snip > # cd /usr/src/sys/i386/conf > # ln -s /root/kernel-config/MYKERNEL FWIW, I keep my kernel configs outside of /usr/src too. diomedes> ls -ld CELERON lrwxr-xr-x 1 root wheel 31 May 14 2003 CELERON -> /local/sys/CELERON diomedes> _ > Thus, editing, config and compilation works perfectly by the book, but > if I feel like it, I can nuke /usr/src/sys entirely [...] ... which I promptly went ahead and did once. Only to discover I had also nuked my "precious" (sic) kernel config. That made me think of ways to avoid the same silliness in the future. The symlink was, naturally, the first thought that I came up with :-) - Giorgos