From owner-freebsd-questions@FreeBSD.ORG Sun Nov 28 23:58:48 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0751D16A4CE for ; Sun, 28 Nov 2004 23:58:48 +0000 (GMT) Received: from ispmxmta06-srv.alltel.net (ispmxmta06-srv.alltel.net [166.102.165.167]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7D1A143D62 for ; Sun, 28 Nov 2004 23:58:47 +0000 (GMT) (envelope-from trey@fastmail.fm) Received: from [192.168.0.3] (really [69.40.80.76]) by ispmxmta06-srv.alltel.net with ESMTP <20041128235846.KMXL27305.ispmxmta06-srv.alltel.net@[192.168.0.3]> for ; Sun, 28 Nov 2004 17:58:46 -0600 Message-ID: <41AA663F.2030106@fastmail.fm> Date: Sun, 28 Nov 2004 18:58:55 -0500 From: Trey Sizemore User-Agent: Mozilla Thunderbird 0.9 (Windows/20041103) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <41AA5AFC.2090902@fastmail.fm> <20041128201638.N66254@cactus.fi.uba.ar> In-Reply-To: <20041128201638.N66254@cactus.fi.uba.ar> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: How to edit file in single user mode X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Nov 2004 23:58:48 -0000 Fernando Gleiser wrote: >On Sun, 28 Nov 2004, Trey Sizemore wrote: > > > >>I made a typo in rc.conf and now am able to boot only into single user >>mode. I thought vi would be available to edit the file, but cannot >>execute it (vi not found). How can I edit my rc.conf at this point/ >> >> > >After you drop into single user, say the magic words: > ># mount -a > >that will mount all the filesystems and then vi will be available. > > > Fer > > D'oh....sorry. Dumb question, but thanks for answering anyway!