From owner-freebsd-questions@FreeBSD.ORG Fri Dec 7 12:56:36 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BFE5816A46E for ; Fri, 7 Dec 2007 12:56:36 +0000 (UTC) (envelope-from erikt@midgard.homeip.net) Received: from ch-smtp01.sth.basefarm.net (ch-smtp01.sth.basefarm.net [80.76.149.212]) by mx1.freebsd.org (Postfix) with ESMTP id 4AEA413C455 for ; Fri, 7 Dec 2007 12:56:35 +0000 (UTC) (envelope-from erikt@midgard.homeip.net) Received: from c83-253-25-183.bredband.comhem.se ([83.253.25.183]:50927 helo=falcon.midgard.homeip.net) by ch-smtp01.sth.basefarm.net with esmtp (Exim 4.68) (envelope-from ) id 1J0cks-0000tX-3G for freebsd-questions@freebsd.org; Fri, 07 Dec 2007 13:56:34 +0100 Received: (qmail 65419 invoked from network); 7 Dec 2007 13:56:33 +0100 Received: from owl.midgard.homeip.net (10.1.5.7) by falcon.midgard.homeip.net with ESMTP; 7 Dec 2007 13:56:33 +0100 Received: (qmail 63094 invoked by uid 1001); 7 Dec 2007 13:56:33 +0100 Date: Fri, 7 Dec 2007 13:56:33 +0100 From: Erik Trulsson To: John Murphy Message-ID: <20071207125633.GA62976@owl.midgard.homeip.net> Mail-Followup-To: John Murphy , freebsd-questions@freebsd.org References: <20071201044427.38bd2c84@asus.freeode.co.uk> <20071201061813.2a0e35e2@gumby.homeunix.com.> <20071201140619.4b7332ba@asus.freeode.co.uk> <4752EFF1.9050107@wcborstel.com> <20071203181412.709fab80@gumby.homeunix.com.> <4754500D.8070706@wcborstel.com> <4754508E.30802@riderway.com> <20071207124335.4aefe67a@asus.freeode.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20071207124335.4aefe67a@asus.freeode.co.uk> User-Agent: Mutt/1.5.16 (2007-06-09) X-Originating-IP: 83.253.25.183 X-Scan-Result: No virus found in message 1J0cks-0000tX-3G. X-Scan-Signature: ch-smtp01.sth.basefarm.net 1J0cks-0000tX-3G 72840220563ba830f613101f4fc756d7 Cc: freebsd-questions@freebsd.org Subject: Re: What's the point of the shell choice in single user mode? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Dec 2007 12:56:36 -0000 On Fri, Dec 07, 2007 at 12:43:35PM +0000, John Murphy wrote: > On Mon, 3 Dec 2007 13:53:02 -0500 > "Philip M. Gollucci" wrote: > > > Jorn Argelo wrote: > > > RW wrote: > > >> On Sun, 02 Dec 2007 18:48:33 +0100 > > >> Jorn Argelo wrote: > > >> > > >> > > >> > > >>> Also note that vi doesn't work by default as it needs to write > > >>> to /tmp. So mount /tmp or re-mount / to RW permissions. > > >>> > > >> I think vi will also fail unless it has access to termcap, so you'd > > >> need /usr mounted too. > > >> > > > You'd need to mount /usr anyway, as the vi binary is located in /usr/bin ;-) > > *cough* /rescue/vi > > Thanks for all the tips on this subject. One more question: > > How would I enable a local keyboard layout in single user mode? > I have had to find '/' by trial and error on my UK keyboard. > You can use kbdcontrol(1) to load a new keyboard mapping. (Probably requires that /usr is already mounted to work correctly.) You can also specify in the kernel config file which keyboard layout should be used by default. See the atkbd(4) or ukbd(4) manpages for details. -- Erik Trulsson ertr1013@student.uu.se