OSS

Jerry McAllister jerrymc at clunix.cl.msu.edu
Tue Jul 27 07:29:33 PDT 2004


> 
> Hello
> 
> Sorry for my ignorance, am new to FreeBSD... which is the kernel config file? 
> is it a configuration for compiling or at boot time? am linux user so will 
> not bee too hard, just tell me which is the file pls :D

Well, in pre 5.xxx versions it is in /usr/src/sys/i386/conf.
You should find at least 2 in there already: GENERIC and LINT.   
Make a copy of GENERIC and modify the copy and follow instructions 
in the handbook or any of the other good FreeBSD books then to build
a new kernel.    There is an old way that still works in 4.xxx and
a new way that is a bit more automated.   

The old way has you doing  /usr/sbin/config  CONF_file_name
                           cd ../../compile/CONF_file_name
                           make depend
                           make
                           make install (only if you want it to actually
                                         replace your current kernel now
                                         you can do this manually later)

The new way is supposed to be better, but old habits die hard and this
way leaves files where I know how to find them.

I have yet to do anything more than burn at 5.xxx CD so I am not sure 
the files are exactly the same in 5.xxx, but they won't be extremely 
different in principal.

////jerry

> 
> Regards,
> Miguel
> 
> > This should be automatically created by devfs.  I would make certain that
> > the proper device entry is installed in your kernel config.  For my system,
> > I need to add the following line to my kernel config file:
> >
> > device		pcm
> >
> > I hope this helps.
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
> 



More information about the freebsd-questions mailing list