From owner-freebsd-questions@FreeBSD.ORG Thu Aug 25 14:10:43 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 5155C16A41F for ; Thu, 25 Aug 2005 14:10:43 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from aiolos.otenet.gr (aiolos.otenet.gr [195.170.0.93]) by mx1.FreeBSD.org (Postfix) with ESMTP id 89DA143D46 for ; Thu, 25 Aug 2005 14:10:41 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from orion.daedalusnetworks.priv (aris.bedc.ondsl.gr [62.103.39.226]) by aiolos.otenet.gr (8.13.4/8.13.4/Debian-1) with SMTP id j7PEAceG000926; Thu, 25 Aug 2005 17:10:38 +0300 Received: from orion.daedalusnetworks.priv (orion [127.0.0.1]) by orion.daedalusnetworks.priv (8.13.4/8.13.4) with ESMTP id j7PEAc5N051125; Thu, 25 Aug 2005 17:10:38 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by orion.daedalusnetworks.priv (8.13.4/8.13.4/Submit) id j7PEAb1c051121; Thu, 25 Aug 2005 17:10:37 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) X-Authentication-Warning: orion.daedalusnetworks.priv: keramida set sender to keramida@ceid.upatras.gr using -f Date: Thu, 25 Aug 2005 17:10:37 +0300 From: Giorgos Keramidas To: "N.J. Thomas" Message-ID: <20050825141037.GA49271@orion.daedalusnetworks.priv> References: <20050825140445.GH1282@ayvali.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050825140445.GH1282@ayvali.org> Cc: freebsd-questions@freebsd.org Subject: Re: /rescue/vi doesn't work without /usr (no terminal db) 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: Thu, 25 Aug 2005 14:10:43 -0000 On 2005-08-25 10:04, "N.J. Thomas" wrote: > I just booted into single user on a 5.4-p6 system. I needed to edit > something on the root fs, but /rescue/vi wouldn't work, it complained > about not finding the terminal database. > > I saw some mention in the archives from June about fixing this, though I > don't think anything has been comitted yet. > > In the meantime, how can I run /rescue/vi without /usr? I don't think you can. It only needs a read-only /usr though, so if /usr is a local filesystem you can probably get away with: # mount -o ro /usr