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,
Benmailto:[EMAIL PROTECTED]
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 [EMAIL PROTECTED]
sc> with "unsubscribe freebsd-questions" in the body of the message
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message