git: 9front

Download patch

ref: b0f25310a5ac4d5e00043cac541d7e14a52242f4
parent: 8e052a2ac41fd11f4c109cd7387a79cabacc192b
author: cinap_lenrek <cinap_lenrek@centraldogma>
date: Wed Aug 17 15:03:44 EDT 2011

document /shr in namespace(4)

--- 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 @@
 .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
--- a/sys/man/4/namespace
+++ b/sys/man/4/namespace
@@ -56,6 +56,8 @@
 .TP
 .B /srv
 .TP
+.B /shr
+.TP
 .B /tmp
 All empty unwritable directories, place holders for mounted services and directories.
 .TP
@@ -368,6 +370,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,
--