From owner-freebsd-current@FreeBSD.ORG Mon Aug 4 22:28:12 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 02D8A1065683 for ; Mon, 4 Aug 2008 22:28:12 +0000 (UTC) (envelope-from fbsd-current@mawer.org) Received: from outbound.icp-qv1-irony-out4.iinet.net.au (outbound.icp-qv1-irony-out4.iinet.net.au [203.59.1.150]) by mx1.freebsd.org (Postfix) with ESMTP id 79D088FC0A for ; Mon, 4 Aug 2008 22:28:11 +0000 (UTC) (envelope-from fbsd-current@mawer.org) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AkoDAL8Yl0jLzq3r/2dsb2JhbAAIimCmUg X-IronPort-AV: E=Sophos;i="4.31,306,1215360000"; d="scan'208";a="255116980" Received: from unknown (HELO [10.24.1.1]) ([203.206.173.235]) by outbound.icp-qv1-irony-out4.iinet.net.au with ESMTP; 05 Aug 2008 05:58:18 +0800 Message-ID: <48977B0C.6030405@mawer.org> Date: Tue, 05 Aug 2008 07:56:28 +1000 From: Antony Mawer User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 To: ticso@cicely.de References: <4896818D.5040904@psg.com> <20080804145907.GJ94193@cicely7.cicely.de> In-Reply-To: <20080804145907.GJ94193@cicely7.cicely.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: "Carlos A. M. dos Santos" , Randy Bush , FreeBSD Current Subject: Re: termcap under single luser X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list 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 22:28:12 -0000 Bernd Walter wrote: > 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. Isn't there a minimalistic termcap file that is used by NanoBSD or PicoBSD (I forget where I stumbled across it once upon a time...)? Maybe this is a nice compromise, depending on what 'minimalistic' happens to omit... --Antony