Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Aug 2008 16:59:08 +0200
From:      Bernd Walter <ticso@cicely7.cicely.de>
To:        "Carlos A. M. dos Santos" <unixmania@gmail.com>
Cc:        Randy Bush <randy@psg.com>, FreeBSD Current <current@freebsd.org>
Subject:   Re: termcap under single luser
Message-ID:  <20080804145907.GJ94193@cicely7.cicely.de>
In-Reply-To: <e71790db0808040558o437ecc61w8ec3354c4c6b6d33@mail.gmail.com>
References:  <4896818D.5040904@psg.com> <e71790db0808040558o437ecc61w8ec3354c4c6b6d33@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <randy@psg.com> 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 <bernd@bwct.de> http://www.bwct.de
Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080804145907.GJ94193>