Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Feb 2012 17:44:33 +0200
From:      Volodymyr Kostyrko <c.kworr@gmail.com>
To:        Alexander Leidinger <Alexander@Leidinger.net>
Cc:        thierry@freebsd.org, stable@freebsd.org, perryh@pluto.rain.com
Subject:   Re: Reducing the need to compile a custom kernel
Message-ID:  <4F392FE1.5070901@gmail.com>
In-Reply-To: <20120213120514.Horde.LMNbOJjmRSRPOO5qpDYJzWA@webmail.leidinger.net>
References:  <20120210145604.Horde.ewjpSpjmRSRPNSH0YRHxgAk@webmail.leidinger.net> <20120211124041.GF32360@graf.pompo.net> <20120211183308.00007579@unknown> <4f379cde.l6lDd9rduQzDU/xx%perryh@pluto.rain.com> <20120212120633.0000302d@unknown> <4f38e34a.lZtNaNETBImp/XiD%perryh@pluto.rain.com> <20120213120514.Horde.LMNbOJjmRSRPOO5qpDYJzWA@webmail.leidinger.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Alexander Leidinger wrote:
> Feasible: depend upon your definition of "feasible". You would have to
> add all keymaps statically into the kernel. No idea which parts exactly
> we talk about, but:
> ---snip---
> % du -h /usr/share/syscons/
> 40k /usr/share/syscons/scrnmaps
> 570k /usr/share/syscons/fonts
> 1.1M /usr/share/syscons/keymaps
> 1.8M /usr/share/syscons/
> ---snip---
>
> I wouldn't mind for 40k, but 1.8M looks more like the value to calculate
> with. Anyway, this is out of the scope of the original question.

Correct me if I'm wrong but zfs already fetches plain file 
/boot/zfs/zpool.cache on load. Can't this be:

  1. Postponed to later processing.
  2. After filesystems are mounted the keymap is loaded.

Or even:

  1. Put all viable files on the / partition.
  2. Select and load correct one before kernel is fired.

-- 
Sphinx of black quartz judge my vow.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F392FE1.5070901>