summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@centraldogma>2011-08-17 19:03:44 +0200
committercinap_lenrek <cinap_lenrek@centraldogma>2011-08-17 19:03:44 +0200
commit954405fec902f823c67813ba8277f21b34272ac3 (patch)
tree100dce02c5676cabcbe42769ee3a6f8c6d03e306
parentc8c58f8cfd49874bf6144fa2f7478ab7c43571c5 (diff)
downloadplan9front-954405fec902f823c67813ba8277f21b34272ac3.tar.xz
document /shr in namespace(4)
-rw-r--r--sys/man/3/shr5
-rw-r--r--sys/man/4/namespace7
2 files changed, 10 insertions, 2 deletions
diff --git a/sys/man/3/shr b/sys/man/3/shr
index f7573f011..ba26f8e26 100644
--- a/sys/man/3/shr
+++ b/sys/man/3/shr
@@ -3,7 +3,7 @@
shr \- global mountpoints
.SH SYNOPSIS
.nf
-.B bind -a '#σ/share' /dev
+.B bind '#σ' /shr
.BI #σ/ share1
.BI #σc/ share1/service1
@@ -23,7 +23,8 @@ private namespaces.
.PP
The
.I shr
-device exports a mount tree and a control tree. The directories
+device exports a mount tree and a control tree.
+The directories
in the mount tree
.BI #σ
are the share mountpoints themselve and in the control tree
diff --git a/sys/man/4/namespace b/sys/man/4/namespace
index 8fd6e429c..43ca902a7 100644
--- a/sys/man/4/namespace
+++ b/sys/man/4/namespace
@@ -56,6 +56,8 @@ Time zone description for the local time zone; a copy of one of the other files
.TP
.B /srv
.TP
+.B /shr
+.TP
.B /tmp
All empty unwritable directories, place holders for mounted services and directories.
.TP
@@ -369,6 +371,11 @@ Mounted here is the dup device,
.IR dup (3),
which holds pseudonyms for open file descriptors.
.TP
+.B /shr
+Mounted here is the global mountpoint device,
+.IR shr (3),
+which holds mounted filesystems visible in all namespaces.
+.TP
.B /srv
Mounted here is the service registry,
.IR srv (3),