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.*) CK On Sat, Nov 1, 2008 at 1:27 PM, Edd Barrett <[EMAIL PROTECTED]> wrote: > On Sat, Nov 1, 2008 at 7:33 PM, soko.tica <[EMAIL PROTECTED]> wrote: >> Hello list, >> >> I did manage to scr... err, mess up partitioning scheme through >> disklabel, so I've booted from floppy, mounted partitions to /tmp/a/, >> tmp/d/, /tmp/e/, but when I attempt to edit etc/fstab by ed I get: >> >> #chmod 766 /etc/fstab >> # ed /etc/fstab >> 215 >> q >> # > > > That is ed doing its job :) > > Go to the OpenBSD web siite and find the manual page section. You > should be able to get the man page for ed, even without an OpenBSD > system. > > -- > > Best Regards > > Edd > > http://students.dec.bournemouth.ac.uk/ebarrett > > -- GDB has a 'break' feature; why doesn't it have 'fix' too?

