On Wed, 13 May 2009 05:34:43 -0400, Michael Powell <nightre...@verizon.net> 
wrote:
> Yes - use the /rescue/vi as it has been statically compiled so it does not
> rely on dynamic libraries which may not be available. The purpose here is 
> have a fallback position for repairing a damage/problem which may prevent a
> successful mount of /usr.

In addition, you eventually want to do something about the termcap
files that - at least I think - vi needs to run in a usable manner.
The default is /etc/termcap@ -> /usr/share/misc/termcap - and in a
"worst case scenario" /usr is out of reach. You can copy the file
/usr/share/misc/termcap to /etc, run "cap_mkdb /etc/termcap" and
then have /etc/termcap and /etc/termcap.db, which you can then
symlink to /usr/share/misc/termcap and /usr/share/misc/termcap.db
again. But note that this might lead to interferences with the
freebsd-update tool as well as with the canonical way of updating
the system through "make update" and "make build/install kernel/world".






-- 
Polytropon
>From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to