3 bind, mount, unmount \- change name space
29 modify the file name space of the current process
30 and other processes in the same name space group
35 is the name of an existing file or directory in the
36 current name space where the modification is to be made.
41 is the name of another (or possibly the same)
42 existing file or directory in
43 the current name space.
48 is an alias for the object originally named by
50 if the modification doesn't hide it,
52 will also still refer to its original file.
57 happens at the time of the
59 not when the binding is later used.
65 is the name of a file that, when opened, yields an
66 existing connection to a file server.
73 In the discussion below,
75 refers to the file named by the
79 or the root directory of the service
88 files must be directories,
89 or both must not be directories.
91 Options control aspects of the modification to the name space:
97 Henceforth, an evaluation of
99 will be translated to the new file.
100 If they are directories (for
102 this condition is true by definition),
106 consisting of one directory (the new file).
109 Both files must be directories.
110 Add the new directory to the beginning
111 of the union directory represented by the old file.
114 Both files must be directories.
115 Add the new directory to the end
116 of the union directory represented by the old file.
119 This can be used in addition to any of the above to permit
120 creation in a union directory.
121 When a new file is created in a union directory,
122 it is placed in the first element of the union that has been bound or mounted with the
125 If that directory does not have write permission, the create fails.
130 By default, file contents are always retrieved from the server.
131 With this option, the kernel may instead use a local cache to satisfy
133 requests for files accessible through this mount point.
134 The currency of cached data for a file is verified at each
136 of the file from this client machine.
147 takes two additional options.
151 constrains the set of
153 keys used for an authenticated mount.
158 to skip authentication entirely.
166 message to the server, and selects among different
167 file trees served by the server.
171 service registry device, normally bound to
173 is a convenient rendezvous point for services that can be mounted.
174 After bootstrap, the file
176 contains the communications port to the file system from which
177 the system was loaded.
183 can be undone with the
186 If two arguments are given to
188 the effect is to undo a
192 with the same arguments.
193 If only one argument is given,
194 everything bound to or mounted upon
198 To compile a program with the C library from July 16, 1992:
201 mount /srv/boot /n/dump dump
202 bind /n/dump/1992/0716/mips/lib/libc.a /mips/lib/libc.a
206 .B /sys/src/cmd/bind.c
208 .B /sys/src/cmd/mount.c
210 .B /sys/src/cmd/unmount.c