Reducing the need to compile a custom kernel
Alexander Leidinger
Alexander at Leidinger.net
Sat Feb 11 17:33:25 UTC 2012
On Sat, 11 Feb 2012 13:40:41 +0100 Thierry Thomas <thierry at FreeBSD.org>
wrote:
> Le ven 10 fév 12 à 14:56:04 +0100, Alexander Leidinger
> <Alexander at Leidinger.net> écrivait :
> > Hi,
>
> Hello,
>
> > The question is, is this enough? Or asked differently, why are you
> > compiling a custom kernel in a production environment (so I rule out
> > debug options zhich are not enabled in GENERIC)? Are there options
> > which you add which you can not add as a module (SW_WATCHDOG comes
> > to my mind)? If yes, which ones and how important are they for you?
>
> Not very important, but since you are asking, is there another place
> to put options to atkbd and sc, like these ones:
>
> options ATKBD_DFLT_KEYMAP # specify the built-in keymap
> makeoptions ATKBD_DFLT_KEYMAP=fr.iso.acc
>
> options SC_KERNEL_CONS_ATTR=(FG_LIGHTGREEN|BG_BLACK)
> options SC_KERNEL_CONS_REV_ATTR=(FG_WHITE|BG_GREEN)
> options SC_NORM_REV_ATTR=(FG_WHITE|BG_BLUE)
No, there is no other way to add the keymap to the kernel directly
(if you want to have it working correctly in single-user mode) instead
of loading it with rc.conf.
I do not know if you can change the colors with vidcontrol, but if you
can, I do not expect this to be a problem for single-user mode.
Bye,
Alexander.
--
http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7
http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137
More information about the freebsd-stable
mailing list