document example for shr(3)
This commit is contained in:
parent
479ccd0aa1
commit
01986adbbf
1 changed files with 9 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue