Small update on OpenBSD 3.7 on WRAP

Posted by Jonathan

Just a quick note for people running OpenBSD with memory-based filesystems like described in my article.

If also get double for filesystems (e.g. /var ) after booting:

# mount
/dev/wd0a on / type ffs (...)
mfs:26303 on /var type mfs (...)
mfs:30728 on /dev type mfs (...)
mfs:6263 on /var type mfs (...)

Make sure to include the noauto option for the “double” filesystem:

# cat /etc/fstab
/dev/wd0a / ffs ro 1 1
swap /var mfs rw,-P=/proto/var,-s=32768,noexec,nosuid,nodev,noauto 0 0
swap /dev mfs rw,-P=/proto/dev,-s=1200,-i=128,noexec,nosuid 0 0

The problem is that /var was also mounted from /etc/rc. Got this from misc@openbsd.org.

Further a new version of Flashdist for OpenBSD 3.7 and Current is out.

Comments

Leave a response