git: 9front

Download patch

ref: 1a90a00e7f9a0baa9f8053bd1690d03990697fb6
parent: e6929d1bf4b741e06775f37e4fc2384a9c9902d6
author: spew <devnull@localhost>
date: Tue May 3 08:35:19 EDT 2016

document example for shr(3)

--- a/sys/man/3/shr
+++ b/sys/man/3/shr
@@ -61,6 +61,15 @@
 directory. The special user
 .B none
 is prohibited from these operations.
+.SH EXAMPLES
+To mount a 9p service from
+.IR srv (1)
+to the shr device
+.IP
+.EX
+mkdir '#σc'/myshare
+echo 3 > '#σc'/myshare/myserv <>[3]/srv/myserv
+.EE
 .SH SOURCE
 .B /sys/src/9/port/devshr.c
 .SH HISTORY
--