From owner-freebsd-hackers Mon May 21 17:24: 5 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from mcp.csh.rit.edu (mcp.csh.rit.edu [129.21.60.9]) by hub.freebsd.org (Postfix) with ESMTP id CD54137B422 for ; Mon, 21 May 2001 17:24:02 -0700 (PDT) (envelope-from jon@csh.rit.edu) Received: from fury.csh.rit.edu (fury.csh.rit.edu [129.21.60.5]) by mcp.csh.rit.edu (Postfix) with ESMTP id 89A0310B3; Mon, 21 May 2001 20:23:55 -0400 (EDT) Received: by fury.csh.rit.edu (Postfix, from userid 37404) id 05FC62E3E5; Mon, 21 May 2001 20:23:54 -0400 (EDT) Date: Mon, 21 May 2001 20:23:54 -0400 From: Jon Parise To: Warner Losh Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: sysctl to disable reboot Message-ID: <20010521202354.F12366@csh.rit.edu> Mail-Followup-To: Warner Losh , freebsd-hackers@FreeBSD.ORG References: <20010521123044.H29180@csh.rit.edu> <200105212148.f4LLmGE34968@harmony.village.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.12i In-Reply-To: <200105212148.f4LLmGE34968@harmony.village.org>; from imp@harmony.village.org on Mon, May 21, 2001 at 03:48:16PM -0600 X-Operating-System: SunOS 5.8 (sun4u) Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, May 21, 2001 at 03:48:16PM -0600, Warner Losh wrote: > : I thought it would be useful to have a sysctl for disabling the > : keyboard reboot sequence. This functionality is currently > : available through the SC_DISABLE_REBOOT config option, but it's > : convenient to have this capability available at runtime, too. > > How is this different than loading a keyboard map that doesn't have > reboot/halt in them? For some reason, I never considered that option. While it makes sense (in hindsight), it certainly doesn't sound like the most direct approach to solving this problem (well, it's not really a problem, but you get the idea). In addition, I prefer my approach here because it's a single, known toggle that doesn't involve messing with other parts of the system. I might just want to disable keyboard rebooting temporarily. This seems like the most intuitive way to do so. -- Jon Parise (jon@csh.rit.edu) . Rochester Inst. of Technology http://www.csh.rit.edu/~jon/ : Computer Science House Member To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message