Reducing the need to compile a custom kernel

Alexander Leidinger Alexander at Leidinger.net
Sun Feb 12 11:06:52 UTC 2012


On Sun, 12 Feb 2012 03:05:02 -0800 perryh at pluto.rain.com wrote:

> Alexander Leidinger <Alexander at Leidinger.net> wrote:
> > On Sat, 11 Feb 2012 13:40:41 +0100 Thierry Thomas
> > <thierry at FreeBSD.org> wrote:
> > > 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
> > > ...
> >
> > 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.
> 
> Might it be feasible to make it into a sysctl, so it could be set in
> loader.conf?

There is already a way to configure this as soon as you have a working
userland. What this setting is doing is to replace the compiled-in
default keymap with a different one, so that you have the one which
matches your keyboard even when you enter the very first keystrokes in
single-user mode (root-pw, path to shell, ...).

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