NEWNS(2)                                                 NEWNS(2)

     NAME
          newns - build a new name space from a description file

     SYNOPSIS
          include "newns.m";
          ns := load Newns Newns->PATH;

          newns:  fn(user: string, nsfile: string): string;

     DESCRIPTION
          Newns reads file nsfile and builds a new name space based on
          the commands it contains.  The file has the format defined
          by namespace(6). If nsfile is nil or empty, then newns
          attempts to read file the file namespace.

     SOURCE
          /appl/lib/newns.b

     SEE ALSO
          sys-bind(2), sys-chdir(2), sys-pctl(2), namespace(6)

     BUGS
          The user string is currently ignored: use nil or the current
          user name (/dev/user).

     Page 1                       Plan 9            (printed 12/21/24)