ref: 01986adbbf75c07c613b11fcb81a8015a71e5664
parent: 479ccd0aa1ee54f48f1d2192a3f389faff4fa611
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