[SunHELP] vi in Single User Mode
Will Mc Donald
wmcdonald at ntlworld.com
Sun Oct 5 09:02:45 CDT 2003
From: "Tom Bunch" <cowbulls at comcast.net>
To: <sunhelp at sunhelp.org>
Sent: Sunday, October 05, 2003 3:24 AM
Subject: [SunHELP] vi in Single User Mode
> I need to vi hostname.eri0 and the fstab file because the system wont come
up
> but cant in single user mode.
>
> when I vi I get this
>
> SAMSserver:/etc# vi hostname.eri0
> "/var/tmp" No such file or directory
There's a way to specify another TMPDIR for vi but I can't recall off the top
of my head what it is. Actually, just try...
TMPDIR=/somewhere_writable
export TMPDIR
However, do you really need vi? Can't you just echo the string into
hostname.eri0? For example...
# echo "192.168.1.1" > hostname.eri0
Will.
More information about the SunHELP
mailing list