default keymaping and fsck-recovery

Winfried Truemper (truemper@mi.uni-koeln.de)
Sat, 9 Mar 1996 01:58:33 +0100 (MET)


When fsck throws you in some sort of single-user mode, no keymap is
loaded.
So if you're running with a non-us keyboard, you're in a nasty situation
where you must recover with guessing the keystrokes (ok, I know them
but a new user may fail).
[Think of /usr not being available, so you can't simply use "loadkeys"].

The solution should be simple: just creating a new "defkey.map"
with "loadkeys --mktable" (see "/usr/src/linux/drivers/char")

... until you install new kernel-sources and forget the command
(-> Murphys law). It seems quite annoying to me to configure
something again and again which could be done once and for
all (think of different source-trees).

I suggest having the default keymapping for the kernel under
"/etc/kernel/" (or something like that). The original file
could be a link into that directory (a missing file could be
created via the Makefile (?)).

(This could be a start for configuring more things than the default
keymap via files in "/etc/kernel"; but this is not my primary goal)

Winfried