OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: editors in floppy44.fs (OpenBSD 4.4.) - newbee help

From: Girish Venkatachalam (girishvenkatachalamgmail.com)
Date: Sat Nov 01 2008 - 21:01:04 CDT


On 13:36:22 Nov 01, Chris Kuethe wrote:
> As long as your filesystems are still readable, you can use a more
> comfortable tool:
>
> mount /dev/wd0a /mnt
> mount /dev/wd0d /mnt/var
> mount /dev/wd0e /mnt/usr
> /mnt/usr/sbin/chroot /mnt
> vi (or mg) /etc/fstab
>
> you could possibly even just copy your fstab from your freshly mounted
> /var (/var/backups/etc_fstab.*)
>

This is what I was also wondering Chris. I always vi in single user
mode. Or since I have an NFS mount on my network I mount it thro' NFS
after assigning a static IP (DHCP does not work) and work.

I have never had to use ed either in single user mode or for scripting.

I use vim all the time. He he.

-Girish