Plan 9 from Bell Labs’s /usr/web/sources/contrib/mycroftiv/NOTES

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


The plan9ants.tgz is the final version of the Advanced Namespace Tools
that supports the Bell Labs distribution of Plan 9.  It creates a
custom kernel and additional supporting utilities designed to allow
multiple coexisting namespace environments, especially a boot/admin
namespace which is independent of the root fileserver.

Writeprocns contains modified versions of files in /sys/src/9/port for
a kernel where /proc/pid/ns is writable by process owner and performs
namespace modifications.  Supports bind, mount without authentication,
and unmount via standard namespace commands.  echo -n 'bind -bc /tmp
/lib' >/proc/targetpid/ns.

Hubfs is a lightweight 9p fileserver designed for providing piped file
descriptors.  It provides 'screen' like functionality in combination
with the hubshell client.  The 'hub' wrapper script is used to start
sessions and connect to them.  Hubfs is a much improved version of the
same abstractions and purposes of the previous Iosrv program.

Grio is a modified Rio with a user-selectable additional command
(/bin/acme by default) in the menu, optional hubfs integration, and
appearance modification options.

Iosrv implements i/o multiplexing to provide 'screen' like
functionality - multiple persistent rc sessions shared freely among
multiple clients.  The 'io' wrapper script used twice acts to start
both the Iosrv server and the Ioshell clients.  While connected,
remote #, local #, and attach # commands where # is always a multiple
of 3, act to create and move between additional rcs.  It is obsoloted
by hubfs.

The g/script toolkit is experimental and designed for managing a
diverse set of 9p connections between Plan 9 and Inferno grid nodes.
It is semi-compatible with the inferno registry.  It uses namespace
tricks to create a dynamically updated tree of services at /g and uses
'recover' from sources/contrib/paurea to try to handle potentially
unreliable connections.  The 9gridchan.org registry and services have
been retired so these tools are not currently relevant.

nsmap is a small utility that provides a reformatted output of
namespace information and accepts multiple PIDs as input.  Namespace
binds and mounts on a particular target within the input fields can be
extracted with the -d flag.  For instance, nsmap -d '/dev' `{seq 1 50}
will show everything modifying /dev within that process range.

If you are interested in any of my software and have suggested
patches/pulls, please let me know.  I'm in the freenode #plan9 irc
channel for discussion.

The 'unreleased' directory holds software that is unsupported and
undocumented, and is either not ready or not suitable for 'official'
release.  Contents include some cryptographics toys and a small
key-value database as a 9p fs.

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to webmaster@9p.io.