diff options
| author | Charles.Forsyth <devnull@localhost> | 2006-12-22 20:52:35 +0000 |
|---|---|---|
| committer | Charles.Forsyth <devnull@localhost> | 2006-12-22 20:52:35 +0000 |
| commit | 46439007cf417cbd9ac8049bb4122c890097a0fa (patch) | |
| tree | 6fdb25e5f3a2b6d5657eb23b35774b631d4d97e4 /man/2/newns | |
| parent | 37da2899f40661e3e9631e497da8dc59b971cbd0 (diff) | |
20060303-partial
Diffstat (limited to 'man/2/newns')
| -rw-r--r-- | man/2/newns | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/man/2/newns b/man/2/newns new file mode 100644 index 00000000..4b151558 --- /dev/null +++ b/man/2/newns @@ -0,0 +1,40 @@ +.TH NEWNS 2 +.SH NAME +newns \- build a new name space from a description file +.SH SYNOPSIS +.EX +include "newns.m"; +ns := load Newns Newns->PATH; + +newns: fn(user: string, nsfile: string): string; +.EE +.SH DESCRIPTION +.B Newns +reads file +.I nsfile +and builds a new name space based on the commands it contains. +The file has the format defined by +.IR namespace (6). +If +.I nsfile +is +.B nil +or empty, then +.B newns +attempts to read file the file +.BR namespace . +.SH SOURCE +.B /appl/lib/newns.b +.SH SEE ALSO +.IR sys-bind (2), +.IR sys-chdir (2), +.IR sys-pctl (2), +.IR namespace (6) +.SH BUGS +The +.I user +string is currently ignored: +use +.B nil +or the current user name +.RB ( /dev/user ). |
