40 lines · 561 B · Text
RawDownload
#!/bin/rc rfork en9fs ehime # adapted from /lib/namespace root = /n/ehime/testplan9#root = /n/emelieother/seanq/testplan9echo setting up $rootfn bind{	/$cputype/bin/bind $*} # pass terminal throughbind /mnt/term $root/mnt/term# rootbind  $root /bind -b '#/' / # kernel devicesbind '#c' /devbind '#d' /fdbind -c '#e' /envbind '#p' /procbind -c '#s' /srvbind -a /mnt/term/dev/ /dev/bind /mnt/term/dev/draw /dev/draw # standard binbind /$cputype/bin /binbind -a /rc/bin /bin # ramfscd /sys/srcprompt=('test-ehime=; ' '	')fn cdrc -i