From owner-freebsd-questions@FreeBSD.ORG Sun Jan 14 20:35:17 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6589116A40F for ; Sun, 14 Jan 2007 20:35:17 +0000 (UTC) (envelope-from wmoran@collaborativefusion.com) Received: from mx00.pub.collaborativefusion.com (mx00.pub.collaborativefusion.com [206.210.89.199]) by mx1.freebsd.org (Postfix) with ESMTP id 02E9D13C455 for ; Sun, 14 Jan 2007 20:35:16 +0000 (UTC) (envelope-from wmoran@collaborativefusion.com) Received: from working (c-71-60-174-60.hsd1.pa.comcast.net [71.60.174.60]) (AUTH: LOGIN wmoran, TLS: TLSv1/SSLv3,256bits,AES256-SHA) by wingspan with esmtp; Sun, 14 Jan 2007 15:35:15 -0500 id 0005644F.45AA9404.0000E23E Date: Sun, 14 Jan 2007 15:35:15 -0500 From: Bill Moran To: Giorgos Keramidas Message-Id: <20070114153515.ae528666.wmoran@collaborativefusion.com> In-Reply-To: <20070114202517.GA3404@kobe.laptop> References: <73161.84816.qm@web51108.mail.yahoo.com> <20070114202517.GA3404@kobe.laptop> Organization: Collaborative Fusion Inc. X-Mailer: Sylpheed version 2.2.10 (GTK+ 2.10.6; i386-portbld-freebsd6.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Dino Vliet , freebsd-questions@freebsd.org Subject: Re: advice on compiling a new kernel & upgrading to the latest sources X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Jan 2007 20:35:17 -0000 Giorgos Keramidas wrote: [copious snippage] > > 2. Cd /usr/src/sys/amd64/conf which contains the file MYKERNEL > > No it doesn't. CVSup will delete the files it doesn't know about, so > you should *SAVE a copy* of your favorite kernel config file outside of > the source tree and *copy* it into `/usr/src/sys/amd64/conf' after CVSup > finishes updates the sources. Really? What have I been doing wrong? I've been keeping custom kernel configs for years and cvsup has never deleted any of them. > > 4.Copy everything under /etc to /root/etc > > Why? This isn't mentioned in `/usr/src/UPDATING' and it doesn't really > help much if you manage to trash your /lib and /usr/lib trees. A better > suggestion is to ``make sure you have good level 0 dumps'', as suggested > by ``/usr/src/UPDATING''. While not mentioned in /usr/src/UPDATING, this is good practice in my opinion. mergemaster can be a tedious task, and making a local backup of /etc has allowed me to undo some careless keystrokes a number of times. I don't disagree with the dump advice, but an additional copy of /etc around doesn't hurt anything and occasionally makes fixing a mistake much faster an easier. -Bill