include "lib.m"; ns:= load Newns Newns->PATH; newns: fn(user: string, nsfile: string): string;
The name space description file contains one or more lines each of which specifies one name space operation. The operations and their arguments are:
cd directory
Change working directory to directory. fork
Split the name space before modification. This is equivalent to passing a value of Sys->FORKNS to the pctl system call. See pctl.
nodev
Disallow device attaches. This is equivalent to passing a value of Sys->NODEVS to the pctl system call. See pctl.
mount [-abrci] [net!] machine to [spec]
Mount the file tree of machine upon directory to. Options a, b, c, i, and r are the same as for bind. The tokens to and spec translate to old and aname of mount as described under bind.
See Also
nsbuild, bind, chdir, and pctl
Notes
The user string is ignored.