Re: how to recognize the different subarchs.
> i would like to know how it is possible to distinguish between the
> different subarchs (or should i ask this on the kernel list ?), some
> /proc thingy for example ???
The standard script for this is:
case `awk '$1 == "Model:" { print $2 }' /proc/hardware` in
Atari)
# ...
;;
Amiga)
# ...
;;
Macintosh)
# ...
;;
Motorola) # MVME
# ...
;;
esac
It looks at /proc/hardware that contains a line Model:, containing
e.g.
Model: Atari TT
Model: Amiga 3000
> or would it be more meaningful to load the kernel default keymap,
> are they subarch specific ?
Yes. And the kernel default map doesn't exist as a *.map file... it is
only in the kernel. Best use the US keymap as default.
Roman
Reply to: