What's the point of the shell choice in single user mode?

José García Juanino jjuanino at gmail.com
Fri Dec 7 06:21:25 PST 2007


El lunes 03 de diciembre a las 19:14:12 CET, RW escribió:
> On Sun, 02 Dec 2007 18:48:33 +0100
> Jorn Argelo <jorn at wcborstel.com> wrote:
> 
> 
> > Also note that vi doesn't work by default as it needs to write
> > to /tmp. So mount /tmp or re-mount / to RW permissions.
> 
> I think vi will also fail unless it has access to termcap, so you'd
> need /usr mounted too.

You can copy /usr/share/misc/termcap.db to /root/.termcap.db and use
/rescue/vi. Only / and /tmp is needed.

Regards
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20071207/24702da2/attachment.pgp


More information about the freebsd-questions mailing list