From owner-freebsd-questions@FreeBSD.ORG Wed May 28 08:22:24 2003 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 825A937B404 for ; Wed, 28 May 2003 08:22:24 -0700 (PDT) Received: from smtp.a1poweruser.com (oh-chardon6a-49.clvhoh.adelphia.net [68.169.105.49]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7B4F443F3F for ; Wed, 28 May 2003 08:22:23 -0700 (PDT) (envelope-from FBSD_User@a1poweruser.com) Received: from barbish (lanwin2 [10.0.10.6]) by smtp.a1poweruser.com (Postfix) with SMTP id E59162BF; Wed, 28 May 2003 11:33:14 -0400 (EDT) From: "FBSD_User" To: , Date: Wed, 28 May 2003 11:22:21 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) In-Reply-To: <20030528080827-095600041> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal Subject: RE: Setting kernel name in buildkernel X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: FBSD_User@a1poweruser.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 May 2003 15:22:24 -0000 Copy /kernel to different name, say kernela, and then recompile kernel source containing changes and it will replace /kernel, then copy /kernel to different name, say kernelb. When you want to return kernela copy kernela to kernel and reboot. You will have to change the flag on /kernel before you can overwrite it. Use commands like this chflags noschg /kernel cp /kernela /kernel chflags schg /kernel -----Original Message----- From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Krzysztof Parzyszek Sent: Wednesday, May 28, 2003 11:08 AM To: freebsd-questions@freebsd.org Subject: Setting kernel name in buildkernel Hello, Suppose I want to build a kernel that will be stored in a file with a name that I chose instead of the usual /kernel. Is there a way to do that without manual file movements? I suppose this could interfere with the location of the modules somehow, but I don't know for sure. I would appreciate any suggestions for both, -stable and -current. Thank you, Krzysztof _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"