3 shr \- global mountpoints
9 .BI #σc/ share1/service1
10 .BI #σc/ share1/service2
16 device provides global mountpoints in the form of share directories
19 services can be mounted.
21 Effectively, it is a global mountpoint registry that is separate from
26 device exports a mount tree and a control tree.
30 are the share mountpoints themselves, while the directories in
32 contain the service files of the share.
34 To create a new share, create the directory
37 To mount a service in that share, create the file
39 and then write a text string (suitable for
43 giving the file descriptor number of an open
46 with the proper permission may then access
50 The service file can be reopened and passed to
54 or added to another share.
56 Multiple services can be mounted under a share forming a union
57 directory. New services get mounted before old ones.
58 Removing the service file unmounts the service from the share.
60 Creating shares and mounts requires read-write access in the share
61 directory. The special user
63 is prohibited from these operations.
65 .B /sys/src/9/port/devshr.c
68 first appeared in 9front (July, 2011).