Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Jan 2003 23:12:38 -0500
From:      Ben Williams <benwilliams@instantemail.net>
To:        owner-freebsd-questions@FreeBSD.ORG, "shen chao" <chao_shen@hotmail.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: about the kernel location
Message-ID:  <1849427031.20030114231238@instantemail.net>
In-Reply-To: <F52Gf1eNnBp85Qq9Rs500012c38@hotmail.com>
References:  <F52Gf1eNnBp85Qq9Rs500012c38@hotmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
As stated in the FreeBSD Handbook - Chapter 9 - Section 3 ( http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-building.html )

   First, let us take a quick tour of the kernel build directory. All
   directories mentioned will be relative to the main /usr/src/sys directory, 
   ...
   Note: If there is not a /usr/src/sys directory on your system, then the 
   kernel source has not been installed. The easiest way to do this is by 
   running /stand/sysinstall as root, choosing Configure, then Distributions, 
   then src, then sys.
   ...
   Next, move to the arch/conf directory and copy the GENERIC configuration 
   file to the name you want to give your kernel. For example:
     # cd /usr/src/sys/i386/conf
     # cp GENERIC MYKERNEL


Thus on i386 (intel, amd, cyrix) hardware the base configuration file will be 
/usr/src/sys/i386/conf/GENERIC. In the same directory you will find a LINT file 
that contains all the (mostly nicely commented) options you can possibly set 
for your kernel. On an alpha system the directory is /usr/src/sys/alpha/conf/.

HTH,
Ben                            mailto:benwilliams@instantemail.net

Tuesday, January 14, 2003, 9:50:02 PM, you wrote:

sc> Hi:

sc> I can not find the kernel file.only under /.
sc> and  i don't know why there nothing under /usr/src. the version of freebsd 
sc> is 4.7-stable.
sc> Which tool can edit the kernel?

sc> Can someone direct me?
sc> Thanks

sc> Shen Chao

sc> _________________________________________________________________
sc> Help STOP SPAM: Try the new MSN 8 and get 2 months FREE* 
sc> http://join.msn.com/?page=features/junkmail


sc> To Unsubscribe: send mail to majordomo@FreeBSD.org
sc> with "unsubscribe freebsd-questions" in the body of the message


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1849427031.20030114231238>