jhb at freebsd.org
Thu Feb 12 06:36:15 PST 2009
On Wednesday 11 February 2009 6:04:51 pm Svein Skogen (listmail account)
> Chuck Swiger wrote:
> > On Feb 11, 2009, at 12:31 PM, Buganini wrote:
> > [ ... ]
> >> This way I can customize my kernconf cleanly and easily.
> >> Like today I want to try USB2, I just change the GENERIC to USB2, then
> >> I got what I want.
> >> I dont like to make a replica GENERIC then modify it,
> >> because sometimes options in the SCHED section changes,
> >> and in this case, if I want to try USB2, things become dirty.
> >> Or any better ideas?
> > You should look into the way the include directive is used for the SMP
> > and PAE kernels (ie, /usr/src/sys/i386/conf/SMP). You can make specific
> > changes to GENERIC to enable or disable things without having to roll an
> > entire kernel config file....
> > Regards,
> Can the kernel file (that contains the include directive) contain an
> opposite of the option and device, such as no_option or no_device?
Yes, just prefix a line with 'no', e.g. 'nodevice de'.
More information about the freebsd-current