From owner-freebsd-stable@FreeBSD.ORG Mon Feb 13 03:25:23 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 BA40F1065672; Mon, 13 Feb 2012 03:25:23 +0000 (UTC) (envelope-from perryh@pluto.rain.com) Received: from agora.rdrop.com (unknown [IPv6:2607:f678:1010::34]) by mx1.freebsd.org (Postfix) with ESMTP id 7499B8FC14; Mon, 13 Feb 2012 03:25:23 +0000 (UTC) Received: from agora.rdrop.com (66@localhost [127.0.0.1]) by agora.rdrop.com (8.13.1/8.12.7) with ESMTP id q1D3PLFg016316 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sun, 12 Feb 2012 19:25:22 -0800 (PST) (envelope-from perryh@pluto.rain.com) Received: (from uucp@localhost) by agora.rdrop.com (8.13.1/8.14.2/Submit) with UUCP id q1D3PLxG016313; Sun, 12 Feb 2012 19:25:21 -0800 (PST) (envelope-from perryh@pluto.rain.com) Received: from fbsd81 ([192.168.200.81]) by pluto.rain.com (4.1/SMI-4.1-pluto-M2060407) id AA16261; Sun, 12 Feb 12 19:18:47 PST Date: Mon, 13 Feb 2012 02:17:46 -0800 From: perryh@pluto.rain.com To: Alexander@Leidinger.net Message-Id: <4f38e34a.lZtNaNETBImp/XiD%perryh@pluto.rain.com> 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> In-Reply-To: <20120212120633.0000302d@unknown> User-Agent: nail 11.25 7/29/05 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: thierry@freebsd.org, stable@freebsd.org 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 03:25:23 -0000 Alexander Leidinger wrote: > On Sun, 12 Feb 2012 03:05:02 -0800 perryh@pluto.rain.com wrote: > > Alexander Leidinger wrote: > > > On Sat, 11 Feb 2012 13:40:41 +0100 Thierry Thomas > > > 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, ...). My point is, if it were made into a sysctl, it could presumably be set in loader.conf -- thereby providing the correct keymap for those "very first keystrokes" without needing a custom kernel. I know that's not how it works _now_, but is there some reason why this approach is not feasible? It seems like something that could potentially go on the the list of projects to reduce the need for custom kernels.