From 01986adbbf75c07c613b11fcb81a8015a71e5664 Mon Sep 17 00:00:00 2001 From: spew Date: Tue, 3 May 2016 12:35:19 -0500 Subject: document example for shr(3) --- sys/man/3/shr | 9 +++++++++ 1 file changed, 9 insertions(+) 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 -- cgit v1.2.3