diff options
author | spew <devnull@localhost> | 2016-05-03 12:35:19 -0500 |
---|---|---|
committer | spew <devnull@localhost> | 2016-05-03 12:35:19 -0500 |
commit | 01986adbbf75c07c613b11fcb81a8015a71e5664 (patch) | |
tree | bbc0003a07abb418ee2809948e16759837a35810 /sys/man | |
parent | 479ccd0aa1ee54f48f1d2192a3f389faff4fa611 (diff) |
document example for shr(3)
Diffstat (limited to 'sys/man')
-rw-r--r-- | sys/man/3/shr | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sys/man/3/shr b/sys/man/3/shr index 1d5bee9aa..5f59f8793 100644 --- a/sys/man/3/shr +++ b/sys/man/3/shr @@ -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 (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 |