]> git.lizzy.rs Git - plan9front.git/blobdiff - sys/man/3/shr
vt: implement proper selections (thanks Ori_B)
[plan9front.git] / sys / man / 3 / shr
index 1d5bee9aa762077536c13bf14f95bbd9977a233c..e20e8641a70ea2ec9f37e7d96543f89d90814d18 100644 (file)
@@ -61,6 +61,15 @@ Creating shares and mounts requires read-write access in the share
 directory. The special user
 .B none
 is prohibited from these operations.
+.SH EXAMPLES
+To mount a 9p service from
+.IR srv (3)
+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