code: 9ferno

Download patch

ref: 2072db1e93779cb38f5228024ae0ee6a0128670b
parent: d0b0ee917ccbc205a52a7403543a6201a56c25bb
author: 9ferno <gophone2015@gmail.com>
date: Fri Aug 6 10:54:51 EDT 2021

commenting out the vmx specific /dis/init

--- a/dis/init
+++ b/dis/init
@@ -4,32 +4,45 @@
 load std
 
 mount { mntgen } /n
-disk/fdisk -p /dev/sdG0/data >/dev/sdG0/ctl
-disk/prep -p /dev/sdG0/plan9 > /dev/sdG0/ctl
-
-# for using the cd
-9660srv /dev/sdF0/data /n/cd
+#disk/fdisk -p /dev/sdG0/data >/dev/sdG0/ctl
+#disk/prep -p /dev/sdG0/plan9 > /dev/sdG0/ctl
+#
+## for using the cd
+#9660srv /dev/sdF0/data /n/cd
 #bind -b /n/cd/dis /dis
-#bind -b /n/cd/Inferno/386 /
-
-### for formatting the disk
-###	bind -a '#S' /dev	# simple.b does this
-##disk/mbr -m mbr /dev/sdG0/data
-##disk/fdisk -baw /dev/sdG0/data
-##disk/prep -bw -a^(9fat fs) /dev/sdG0/plan9
-##disk/format -b pbs -d -r 2 /dev/sdG0/9fat 9bootfat /n/cd/cfg/plan9.ini
+##bind -b /n/cd/Inferno/386 /
 #
-## for installing to a formatted disk
-#mount -c { disk/kfs -r -n root /dev/sdG0/fs } /n/local # ream
-#disk/kfscmd -n root sync
-#disk/mkfs -v -r -s /n/cd/ -d /n/local/ <{ echo + }
-#disk/kfscmd -n root sync
-
-# starting inferno already installed to a disk
-mount -c { disk/kfs -D -n root /dev/sdG0/fs } /n/local
-disk/kfscmd -n root sync
-bind -b /n/local/dis /dis
-bind -a -c /n/local/ /
-disk/mkfs -v -s /n/cd/ -d /n/local/ <{ echo + }
+#### for formatting the disk
+####	bind -a '#S' /dev	# simple.b does this
+###disk/mbr -m mbr /dev/sdG0/data
+###disk/fdisk -baw /dev/sdG0/data
+###disk/prep -bw -a^(9fat fs) /dev/sdG0/plan9
+###disk/format -b pbs -d -r 2 /dev/sdG0/9fat 9bootfat /n/cd/cfg/plan9.ini
+##
+### for installing to a formatted disk
+##mount -c { disk/kfs -r -n root /dev/sdG0/fs } /n/rootdisk # ream
+##disk/kfscmd -n root sync
+##disk/mkfs -v -r -s /n/cd/ -d /n/rootdisk/ <{ echo + }
+##disk/kfscmd -n root sync
+#
+### starting inferno already installed to a disk
+##mount -c { disk/kfs -D -n rootdisk /dev/sdG0/fs } /n/rootdisk
+##disk/kfscmd -n rootdisk sync
+###bind -b /n/rootdisk/dis /dis
+##bind -a -c /n/rootdisk/ /
+###disk/mkfs -v -s /n/cd/ -d /n/rootdisk/ <{ echo + }
+#
+#ftest -f '#P'/archctl && {
+#	echo '#P'/archctl
+#	cat '#P'/archctl
+#}
+#bind -b /n/cd/ /
+#ns
+#ndb/cs -v
+#<>/net/ipifc/clone {
+#	x=`{read}
+#	echo bind ether /net/ether0 > /net/ipifc/$x/ctl
+#	ip/dhcp -h vmx9ferno -p /net/ipifc/$x
+#}
 
 sh -n