Editing on the serial console
O'Connor, Daniel
darius at dons.net.au
Thu Mar 7 07:06:18 UTC 2019
> On 7 Mar 2019, at 14:24, bob prohaska <fbsd at www.zefox.net> wrote:
>
> Editing files in single-user mode on the serial console
> is non-trivial. Both vi and ee have problems displaying
> the file, ed doesn't really try so it works but isn't
> much fun. Is there a better option? When the machine
> boots single-user it reports "can't read /etc/termcap",
> 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
More information about the freebsd-arm
mailing list