On Tue, 10 Dec 2024 20:10:51 +0100,
Divan Santana <di...@santanas.co.za> wrote:
> 
> Secondly question, is it possible from the rescue environment to edit
> the real /etc/fstab file?  Because it would be handy for me in some
> cases to do so without booting from the install image.
>

I just double checked bsd.rd from amd64 snapshot, and it seems that both,
bsd.rd from installer and "single mode" has ed which is text editor.

> Another question, is there a Linux like fstab option of 'nofail' for
> OpenBSD?  It seems like there isn't, because for me, it would be handy
> to specify that for my /data mount.
>

Let me quote man fsck(8):

     It is normally used in the script rc(8) during automatic reboot.  If no
     file systems are specified, fsck reads the file fstab(5) to determine
     which file systems to check and in what order.  Only partitions in fstab
     that are mounted “rw” or “ro” and that have non-zero pass numbers are
     checked.  File systems with pass number 1 (normally just the root file
     system) are checked one at a time.

-- 
wbr, Kirill

Reply via email to