From owner-freebsd-current@FreeBSD.ORG Mon Aug 4 14:59:17 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 874F31065673 for ; Mon, 4 Aug 2008 14:59:17 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from raven.bwct.de (raven.bwct.de [85.159.14.73]) by mx1.freebsd.org (Postfix) with ESMTP id 117948FC1D for ; Mon, 4 Aug 2008 14:59:16 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from cicely5.cicely.de ([10.1.1.7]) by raven.bwct.de (8.13.4/8.13.4) with ESMTP id m74ExDRL086914 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 4 Aug 2008 16:59:14 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (cicely7.cicely.de [10.1.1.9]) by cicely5.cicely.de (8.14.2/8.14.2) with ESMTP id m74Ex9uD038747 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 4 Aug 2008 16:59:10 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (localhost [127.0.0.1]) by cicely7.cicely.de (8.14.2/8.14.2) with ESMTP id m74Ex8Ih094749; Mon, 4 Aug 2008 16:59:09 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: (from ticso@localhost) by cicely7.cicely.de (8.14.2/8.14.2/Submit) id m74Ex8PH094748; Mon, 4 Aug 2008 16:59:08 +0200 (CEST) (envelope-from ticso) Date: Mon, 4 Aug 2008 16:59:08 +0200 From: Bernd Walter To: "Carlos A. M. dos Santos" Message-ID: <20080804145907.GJ94193@cicely7.cicely.de> References: <4896818D.5040904@psg.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Operating-System: FreeBSD cicely7.cicely.de 7.0-STABLE i386 User-Agent: Mutt/1.5.11 X-Spam-Status: No, score=-4.3 required=5.0 tests=ALL_TRUSTED=-1.8, AWL=0.107, BAYES_00=-2.599 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on spamd.cicely.de Cc: Randy Bush , FreeBSD Current Subject: Re: termcap under single luser X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ticso@cicely.de List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Aug 2008 14:59:17 -0000 On Mon, Aug 04, 2008 at 09:58:20AM -0300, Carlos A. M. dos Santos wrote: > On Mon, Aug 4, 2008 at 1:11 AM, Randy Bush wrote: > > if i boot single luser, /rescue/(vi|ed) etc barf because > > > > lrwxrwxrwx 1 root wheel 23 Oct 11 2007 /etc/termcap@ -> > > /usr/share/misc/termcap > > > > is not mounted. > > > > should i > > > > rm /etc/termcap > > cp /usr/share/misc/termcap /etc > > > > post build, or is there something else i am missing? > > > > randy > > You can ever resort to ed if you can not mount /usr. It saved my neck > several times! I almost always use ed in single user mode, because I'm using serial consoles and I'm too lazy to setup my terminal environment each time. But I clearly vote for termcap in /etc. It is just a about 200k, while /etc is already almost 2M and /boot is much bigger. -- B.Walter http://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm.