diff options
author | cinap_lenrek <cinap_lenrek@centraldogma> | 2011-08-16 01:49:37 +0200 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@centraldogma> | 2011-08-16 01:49:37 +0200 |
commit | cb9e638c004ea7de8404a6746d12a42041ee9f74 (patch) | |
tree | 0fd9418d1a458e42406c39149b47d3adbd56d3a3 | |
parent | b0f1c5ed6c90a2577cf4f43778882cc6c056671c (diff) | |
download | plan9front-cb9e638c004ea7de8404a6746d12a42041ee9f74.tar.xz |
bind devshr to /shr
-rw-r--r-- | lib/namespace | 1 | ||||
-rw-r--r-- | sys/src/9/boot/boot.c | 1 | ||||
-rw-r--r-- | sys/src/9/port/devroot.c | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/lib/namespace b/lib/namespace index df3e871f0..931cd02c5 100644 --- a/lib/namespace +++ b/lib/namespace @@ -9,6 +9,7 @@ bind #d /fd bind -c #e /env bind #p /proc bind -c #s /srv +bind -q #σ /shr bind -a #¤ /dev # mount points diff --git a/sys/src/9/boot/boot.c b/sys/src/9/boot/boot.c index 35cd482da..3f947047d 100644 --- a/sys/src/9/boot/boot.c +++ b/sys/src/9/boot/boot.c @@ -23,6 +23,7 @@ boot(int argc, char *argv[]) bind("#ec", "/env", MREPL); bind("#e", "/env", MBEFORE|MCREATE); bind("#s", "/srv", MREPL|MCREATE); + bind("#σ", "/shr", MREPL); if(Debug){ int i; diff --git a/sys/src/9/port/devroot.c b/sys/src/9/port/devroot.c index f3aebc387..e2d3cddcd 100644 --- a/sys/src/9/port/devroot.c +++ b/sys/src/9/port/devroot.c @@ -104,6 +104,7 @@ rootreset(void) addrootdir("proc"); addrootdir("root"); addrootdir("srv"); + addrootdir("shr"); } static Chan* |