From owner-freebsd-questions@FreeBSD.ORG Wed May 12 08:18:20 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 E8B6816A4CE for ; Wed, 12 May 2004 08:18:20 -0700 (PDT) Received: from clunix.cl.msu.edu (clunix.cl.msu.edu [35.9.2.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id F15EF43D45 for ; Wed, 12 May 2004 08:18:18 -0700 (PDT) (envelope-from jerrymc@clunix.cl.msu.edu) Received: (from jerrymc@localhost) by clunix.cl.msu.edu (8.11.7p1+Sun/8.11.7) id i4CFI9S20334; Wed, 12 May 2004 11:18:09 -0400 (EDT) From: Jerry McAllister Message-Id: <200405121518.i4CFI9S20334@clunix.cl.msu.edu> To: xavier_collot@yahoo.fr (=?iso-8859-1?q?xavier=20collot?=) Date: Wed, 12 May 2004 11:18:08 -0400 (EDT) In-Reply-To: <20040512074547.82863.qmail@web25005.mail.ukl.yahoo.com> from "=?iso-8859-1?q?xavier=20collot?=" at May 12, 2004 09:45:47 AM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit cc: 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: Wed, 12 May 2004 15:18:21 -0000 Hi, > Hii!! > > In the chapter "9.3 Building and installing a custom kernel" of the > freebsd handbook it's written that MYKERNEL is an example but I don't > know how I can find that. > In fact I don't know what MYKERNEL represents. OK. MYKERNEL represents an example of a name you could use for your own copy of the kernel config file. You may choose any name you want as long as it doesn't conflict with something else. It is customary to make this file name in all upper case. The easiest thing would be to copy the generic kernel config which is in the file called GENERIC in the /usr/src/sys/i386/conf directory to your own favorite name such as MYKERNEL and then make all your changes to that file rather than making changes to GENERIC. That way you will preserve a reference. Then you have to tell it to work on the MYKERNEL file when it builds the kernel. I still use the old way in 4.xxx but there have been some additional automation and that should work too. Here is the old way (which still works in Version 4.xxx) Lets say I call it JRMKERNEL cd /usr/src/sys/i386/conf cp GENERIC JRMKERNEL vi JRMKERNEL edit as much as necessary and save and exit /usr/sbin/config JRMKERNEL cd ../../compile/JRMKERNEL make depend make make install / or copy the new file named kernel where you want it. NOTE: previous kernel files may have the schg flag set. see 'man chflags' ////jerry > Thanks for your help. > XAV LE OUF > > > --------------------------------- > Yahoo! Mail : votre e-mail personnel et gratuit qui vous suit partout ! > Créez votre Yahoo! Mail > > Dialoguez en direct avec vos amis grâce à Yahoo! Messenger ! > _______________________________________________ > 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" >