Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Mar 2019 17:08:07 +1030
From:      "O'Connor, Daniel" <darius@dons.net.au>
To:        bob prohaska <fbsd@www.zefox.net>
Cc:        freebsd-arm@freebsd.org
Subject:   Re: Editing on the serial console
Message-ID:  <30423F14-4038-4656-83FC-14DE0943B26B@dons.net.au>
In-Reply-To: <20190307035427.GA42903@www.zefox.net>
References:  <20190307035427.GA42903@www.zefox.net>

next in thread | previous in thread | raw e-mail | index | archive | help

> On 7 Mar 2019, at 14:24, bob prohaska <fbsd@www.zefox.net> wrote:
>=20
> Editing files in single-user mode on the serial console=20
> is non-trivial. Both vi and ee have problems displaying=20
> the file, ed doesn't really try so it works but isn't
> much fun. Is there a better option?  When the machine=20
> boots single-user it reports "can't read /etc/termcap",=20
> is something misconfigured?

/etc/termcap is a symlink to /usr/share/misc/termcap - if you mount /usr =
(read only is fine) then it should work.

ie since you are in single user mode only / has been mounted.

If / and /usr are the same FS them something else is wrong :)

--
Daniel O'Connor
"The nice thing about standards is that there
are so many of them to choose from."
 -- Andrew Tanenbaum





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?30423F14-4038-4656-83FC-14DE0943B26B>