/rescue/vi doesn't work without /usr (no terminal db)

Giorgos Keramidas keramida at ceid.upatras.gr
Thu Aug 25 14:10:43 GMT 2005


On 2005-08-25 10:04, "N.J. Thomas" <njt at ayvali.org> wrote:
> I just booted into single user on a 5.4-p6 system. I needed to edit
> something on the root fs, but /rescue/vi wouldn't work, it complained
> about not finding the terminal database.
>
> I saw some mention in the archives from June about fixing this, though I
> don't think anything has been comitted yet.
>
> In the meantime, how can I run /rescue/vi without /usr?

I don't think you can.  It only needs a read-only /usr though, so if
/usr is a local filesystem you can probably get away with:

	# mount -o ro /usr



More information about the freebsd-questions mailing list