From owner-freebsd-questions@FreeBSD.ORG Thu Aug 25 15:05:35 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 7B0FB16A421 for ; Thu, 25 Aug 2005 15:05:35 +0000 (GMT) (envelope-from njt@ayvali.org) Received: from sanddollar.geekisp.com (sanddollar.geekisp.com [204.89.131.97]) by mx1.FreeBSD.org (Postfix) with ESMTP id C457243D53 for ; Thu, 25 Aug 2005 15:05:34 +0000 (GMT) (envelope-from njt@ayvali.org) Received: (qmail 1593 invoked by uid 1003); 25 Aug 2005 15:05:33 -0000 Received: from clam.int.geekisp.com (HELO clam.geekisp.com) (192.168.4.38) by mail.geekisp.com with (DHE-RSA-AES256-SHA encrypted) SMTP; 25 Aug 2005 15:05:33 -0000 Received: from clam.geekisp.com (njt@localhost.geekisp.com [127.0.0.1]) by clam.geekisp.com (8.13.3/8.12.11) with ESMTP id j7PF5XYN009541 for ; Thu, 25 Aug 2005 11:05:33 -0400 (EDT) Received: (from njt@localhost) by clam.geekisp.com (8.13.3/8.13.3/Submit) id j7PF5Wle019663 for freebsd-questions@freebsd.org; Thu, 25 Aug 2005 11:05:32 -0400 (EDT) X-Authentication-Warning: clam.geekisp.com: njt set sender to njt@ayvali.org using -f Date: Thu, 25 Aug 2005 11:05:32 -0400 From: "N.J. Thomas" To: freebsd-questions@freebsd.org Message-ID: <20050825150531.GI1282@ayvali.org> References: <20050825140445.GH1282@ayvali.org> <20050825141037.GA49271@orion.daedalusnetworks.priv> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050825141037.GA49271@orion.daedalusnetworks.priv> User-Agent: Mutt/1.5.9i 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 15:05:35 -0000 * Giorgos Keramidas [2005-08-25 17:10:37 +0300]: > On 2005-08-25 10:04, "N.J. Thomas" wrote: > > 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 Yeah, I was actually thinking of the (rare) case when /usr was not accessible. This time it was, so I got away with it. But I did find this in rescue(8) however: BUGS Most of the rescue tools work even in a fairly crippled system. The most egregious exception is the rescue version of vi(1), which currently requires that /usr be mounted so that it can access the termcap(5) files. Hopefully, a failsafe termcap(3) entry will eventually be added into the ncurses(3) library, so that /rescue/vi can be used even in a system where /usr cannot immediately be mounted. In the meantime, the rescue version of the ed(1) editor can be used from /rescue/ed if you need to edit files, but cannot mount /usr. I don't know how old this note is, but I hope the failsafe termcap will be added soon. Thomas -- N.J. Thomas njt@ayvali.org Etiamsi occiderit me, in ipso sperabo