From owner-freebsd-stable@FreeBSD.ORG Mon Feb 13 15:44:38 2012 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2EE4F1065741 for ; Mon, 13 Feb 2012 15:44:38 +0000 (UTC) (envelope-from c.kworr@gmail.com) Received: from mail-bk0-f54.google.com (mail-bk0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id AA2628FC1F for ; Mon, 13 Feb 2012 15:44:37 +0000 (UTC) Received: by mail-bk0-f54.google.com with SMTP id jg1so4606076bkc.13 for ; Mon, 13 Feb 2012 07:44:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=BYZL+6+A9Yl4WLkiIf4SwB9nqpH2SuVM16FiOj3MY54=; b=BulZK9XFGoKC6tNc5rhpJpk7YFxmyGiQ3EaTGxd9te+LKHT60RZmdaTCZV/fkrbiYO JbxdF5oFRd/LeZ1XsPrZG6so22AvpitD85AKuSeYu2wZMOgtW8LYKL5wgFGRjVyB4CN+ FohdGYEoyMyn8vMQIC0/jzBZUUTdrWL24cWF0= Received: by 10.204.149.209 with SMTP id u17mr7567263bkv.46.1329147877156; Mon, 13 Feb 2012 07:44:37 -0800 (PST) Received: from green.tandem.local (43-24-132-95.pool.ukrtel.net. [95.132.24.43]) by mx.google.com with ESMTPS id x11sm44513578bkd.2.2012.02.13.07.44.35 (version=SSLv3 cipher=OTHER); Mon, 13 Feb 2012 07:44:36 -0800 (PST) Message-ID: <4F392FE1.5070901@gmail.com> Date: Mon, 13 Feb 2012 17:44:33 +0200 From: Volodymyr Kostyrko User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:10.0.1) Gecko/20120213 Firefox/10.0.1 SeaMonkey/2.7.1 MIME-Version: 1.0 To: Alexander Leidinger 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> In-Reply-To: <20120213120514.Horde.LMNbOJjmRSRPOO5qpDYJzWA@webmail.leidinger.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: thierry@freebsd.org, stable@freebsd.org, perryh@pluto.rain.com Subject: Re: Reducing the need to compile a custom kernel X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Feb 2012 15:44:38 -0000 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.