ref: cb9e638c004ea7de8404a6746d12a42041ee9f74
parent: b0f1c5ed6c90a2577cf4f43778882cc6c056671c
author: cinap_lenrek <cinap_lenrek@centraldogma>
date: Mon Aug 15 21:49:37 EDT 2011
bind devshr to /shr
--- a/lib/namespace
+++ b/lib/namespace
@@ -9,6 +9,7 @@
bind -c #e /env
bind #p /proc
bind -c #s /srv
+bind -q #σ /shr
bind -a #¤ /dev
# mount points
--- a/sys/src/9/boot/boot.c
+++ b/sys/src/9/boot/boot.c
@@ -23,6 +23,7 @@
bind("#ec", "/env", MREPL);
bind("#e", "/env", MBEFORE|MCREATE);
bind("#s", "/srv", MREPL|MCREATE);
+ bind("#σ", "/shr", MREPL);
if(Debug){
int i;
--- a/sys/src/9/port/devroot.c
+++ b/sys/src/9/port/devroot.c
@@ -104,6 +104,7 @@
addrootdir("proc");
addrootdir("root");
addrootdir("srv");
+ addrootdir("shr");
}
static Chan*