tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: nvi(1) broken without /var mounted



On Tue, Dec 9, 2008 at 8:43 PM, Arnaud Lacombe <lacombar%gmail.com@localhost> 
wrote:
> Hi,
>
> While speaking about nvi(1), I am unable to edit any file without /var
> mounted or (I guess) an existing /var/tmp. The error message is the
> following:
>
> # vi /etc/rc.conf
> Error: /var/tmp/vi.recover: No such file or directory
> Modifications not recoverable if the session fails
> Error: /var/tmp/vi.recover: No such file or directory
>
> vim(1) handle this situation gracefully, AFAIR as does the old vi(1).
>
> Should I file a PR ?
>
I just try to create /var/tmp, but nvi(1) is still unable to edit a
file. It dies with "<something>: Invalid argument". I'll get the
<something> next time I cold boot in single user and will file a PR
for those two problems.

 - Arnaud


Home | Main Index | Thread Index | Old Index