#!/bin/rc -x
fs=`{cat '#ec/fs'}
ramfs -m /n/cfscache
dd < /dev/zero >/n/cfscache/cache -bs 1048576 -count 512
cfs -a $fs -r -f /n/cfscache/cache /n/cfs
for(i in `{ls /n/cfs}){
bi=`{basename $i}
if(! ~ $bi fd mnt n tmp)
bind -b /n/cfs/$bi /$bi
}
bind -b $home/bin/rc /bin
bind -b $home/bin/$cputype /bin
bind -c $home/go/$cputype/bin $home/go/bin
bind -b $GOPATH/bin /bin
rm /env/bi
rm /env/i
|