diff options
-rw-r--r-- | lib/namespace | 2 | ||||
-rwxr-xr-x | rc/bin/cpurc | 2 | ||||
-rwxr-xr-x | rc/bin/termrc | 2 | ||||
-rwxr-xr-x | sys/lib/rootstub | 43 | ||||
-rw-r--r-- | sys/lib/sysconfig/proto/cdproto | 26 | ||||
-rw-r--r-- | sys/src/cmd/vt/consctl.c | 8 |
6 files changed, 11 insertions, 72 deletions
diff --git a/lib/namespace b/lib/namespace index 931cd02c5..208465fcd 100644 --- a/lib/namespace +++ b/lib/namespace @@ -14,6 +14,8 @@ bind -a #¤ /dev # mount points mount -a /srv/slashn /n +mount -a /srv/slashmnt /mnt +mount -a /srv/mntexport /mnt/exportfs # authentication mount -a /srv/factotum /mnt diff --git a/rc/bin/cpurc b/rc/bin/cpurc index c7198b827..88bfa88f1 100755 --- a/rc/bin/cpurc +++ b/rc/bin/cpurc @@ -13,6 +13,8 @@ nusbrc # mount points mntgen -s slashn && chmod 666 /srv/slashn +mntgen -s slashmnt /mnt && chmod 666 /srv/slashmnt +mntgen -s mntexport /mnt/exportfs && chmod 666 /srv/mntexport # name translation, cs sets /dev/sysname ndb/cs diff --git a/rc/bin/termrc b/rc/bin/termrc index 0c8109347..c06321026 100755 --- a/rc/bin/termrc +++ b/rc/bin/termrc @@ -3,6 +3,8 @@ TIMESYNCARGS=(-rLa1000000) mntgen -s slashn && chmod 666 /srv/slashn +mntgen -s slashmnt /mnt && chmod 666 /srv/slashmnt +mntgen -s mntexport /mnt/exportfs && chmod 666 /srv/mntexport # bind all likely devices for(i in S f k t m i v L P u U A '$' Σ κ) diff --git a/sys/lib/rootstub b/sys/lib/rootstub index 61f22ed22..8beb46c8b 100755 --- a/sys/lib/rootstub +++ b/sys/lib/rootstub @@ -119,48 +119,7 @@ mkdir -p mail/queue mkdir -p mail/tmp mkdir -p mips/bin/aux mkdir -p mips/lib/ape -mkdir -p mnt/acme -mkdir -p mnt/apeselect -mkdir -p mnt/apm -mkdir -p mnt/arch -mkdir -p mnt/cd -mkdir -p mnt/cons -mkdir -p mnt/cons/cons -mkdir -p mnt/cons/consctl -mkdir -p mnt/consoles -mkdir -p mnt/doc -mkdir -p mnt/exportfs/0 -mkdir -p mnt/exportfs/1 -mkdir -p mnt/exportfs/10 -mkdir -p mnt/exportfs/11 -mkdir -p mnt/exportfs/12 -mkdir -p mnt/exportfs/13 -mkdir -p mnt/exportfs/14 -mkdir -p mnt/exportfs/15 -mkdir -p mnt/exportfs/16 -mkdir -p mnt/exportfs/2 -mkdir -p mnt/exportfs/3 -mkdir -p mnt/exportfs/4 -mkdir -p mnt/exportfs/5 -mkdir -p mnt/exportfs/6 -mkdir -p mnt/exportfs/7 -mkdir -p mnt/exportfs/8 -mkdir -p mnt/exportfs/9 -mkdir -p mnt/keys -mkdir -p mnt/lp -mkdir -p mnt/netkeys -mkdir -p mnt/news -mkdir -p mnt/plumb -mkdir -p mnt/rdb -mkdir -p mnt/temp -mkdir -p mnt/term -mkdir -p mnt/ums -mkdir -p mnt/vmware -mkdir -p mnt/web -mkdir -p mnt/webcookies -mkdir -p mnt/wiki -mkdir -p mnt/wrap -mkdir -p mnt/wsys +mkdir -p mnt mkdir -p n mkdir -p power/bin/ape mkdir -p power/bin/audio diff --git a/sys/lib/sysconfig/proto/cdproto b/sys/lib/sysconfig/proto/cdproto index d5f41132d..71aa7717f 100644 --- a/sys/lib/sysconfig/proto/cdproto +++ b/sys/lib/sysconfig/proto/cdproto @@ -55,32 +55,6 @@ mips d775 acme d775 + mnt d775 - acme d555 - apeselect d555 - apm d555 - cd d555 - cons d555 - cons d555 - consctl d555 - consoles d555 - doc d555 - exportfs d555 - * - keys d555 - lp d555 - netkeys d555 - news d555 - plumb d555 - rdb d555 - temp d555 - term d555 - ums d555 - vmware d555 - web d555 - webcookies d555 - wiki d555 - wrap d555 - wsys d555 n d775 sys d775 games d775 diff --git a/sys/src/cmd/vt/consctl.c b/sys/src/cmd/vt/consctl.c index 525bbb664..6bdf0f46f 100644 --- a/sys/src/cmd/vt/consctl.c +++ b/sys/src/cmd/vt/consctl.c @@ -20,13 +20,13 @@ consctl(void) sysfatal("segattach: %r"); /* a pipe to simulate consctl */ - if(bind("#|", "/mnt/cons/consctl", MBEFORE) < 0 - || bind("/mnt/cons/consctl/data1", "/dev/consctl", MREPL) < 0) + if(bind("#|", "/mnt/consctl", MBEFORE) < 0 + || bind("/mnt/consctl/data1", "/dev/consctl", MREPL) < 0) sysfatal("bind consctl: %r"); /* a pipe to simulate the /dev/cons */ - if(bind("#|", "/mnt/cons/cons", MREPL) < 0 - || bind("/mnt/cons/cons/data1", "/dev/cons", MREPL) < 0) + if(bind("#|", "/mnt/cons", MREPL) < 0 + || bind("/mnt/cons/data1", "/dev/cons", MREPL) < 0) sysfatal("bind cons: %r"); switch(fork()){ |