ref: eb75b3bce0e0fcefa4c71651e68fe996addef330
parent: f5df6f147da7f3f4ea4179f460b611fb87ad407f
author: sl <sl@x1yg3>
date: Sun Jul 6 19:00:04 EDT 2025
add openbsd
--- a/INDEX
+++ b/INDEX
@@ -45,6 +45,7 @@
nml - Mailing list script called from /mail/box/$list/pipeto.
nn - run webcookies/webfs, populate factotum from secstore, perform some binds, run plumber.
ntput - test network throughput
+openbsd - Boot OpenBSD inside vmx(1).
osuny - rcpu to or rimport from osuny.bell-labs.co
r - setup environment and run rio.
rag - save image under http://notreally.info/transport/spacecraft/ragnarok/img/
--- /dev/null
+++ b/openbsd
@@ -1,0 +1,35 @@
+#!/bin/rc
+# 2022-12-29T20:44:50-05:00
+# Boot OpenBSD inside vmx(1).
+rfork e
+d=/dev/sdN0/data
+#d=/tmp/openbsd
+D='device=sd0a'
+k=/shr/sdU18e33/bsd
+m=vesa
+M=4G
+l=1366x768
+n=ether0
+while(~ $1 -*){
+ switch($1){
+ case -d
+ d=$2
+ shift
+ case -D
+ D=$2
+ shift
+ case -k
+ k=$2
+ shift
+ case -l
+ l=$2
+ case -m
+ m=$2
+ shift
+ case -n
+ n=$2
+ shift
+ }
+ shift
+}
+exec vmx -M $M -n $n -d $d -v $m:$l $k $D
--
⑨