It looks like the trick was to mount the mfs version of /dev on top of
the regular /dev, the system did not like to boot with only a read-only
/dev or with only a mount point for /dev

Currently the system successfully boots read only and SSHd accepts logins.

Below is /etc/fstab for the adjustments I have made to an otherwise
plain vanilla OpenBSD 4.2.

Later, after Christmas or so, I'll look into adjusting the sizes and
such.  Have to clean up now for a few days...

-Lars

/dev/wd0a / ffs ro,noatime 1 1
/dev/wd0d /data ffs rw,nodev,nosuid 1 2

swap /var mfs -P/var.base,-s16000,noexec,async,nosuid,nodev,noatime,rw 0 0

swap /tmp mfs
noexec,async,nosuid,nodev,noatime,rw,-b4096,-i1024,-s21200,-m0 0 0

swap /dev mfs rw,-P/dev.orig,-b4096,-i1024,-s21200,-m0,nosuid 0 0

_______________________________________________
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech

Reply via email to