NAME
|
namespace.planb, planbfs – conventions for Plan B name spaces and
volume file severs |
SYNOPSIS
|
bns
planbfs [ –A ] [ –abc ] [ –dD ] [ –s srv ] [ –m mnt ] [ –n addr ] [
–V volspec ] |
DESCRIPTION
|
A Plan B environment is built by assembling multiple volume file
servers into a name space, through bns(4). All volume file servers
have a common set of options described here using planbfs (which
is not a real program) as an example. The common behaviour found
in most Plan B file servers is also described. Also, the file name space of a Plan B terminal should adhere to a number of conventions if the system is to behave normally. This page documents below the Plan B specific details, as reflected by the /lib/namespace.planb file used during the boot process. See namespace(4) for the common Plan 9 conventions. Volume file severs The file server usually mounts itself at a default mount point, or at mnt when given. Options –abc are like in mount(1) and control the mount flag used in this case. The network address where the file server listens for new clients depends on the service provided by the volume. See /lib/ndb/common for a list of Plan B TCP services. This may be changed by supplying addr with the –n flag. Flag –d enables debugging. Many times, debugging may be made even more verbose by repeating the flag, or by using –D instead. The –V option supplies the volume spec, i.e., its global name and set of attributes. This is used to announce the volume. Some file servers may insist in announcing a particular volume spec when none is given. Most of them will not announce if this flag is not used. For example, this might be used
Some attributes, most notably user, sys, and loc will be added
by the file server to reflect the user who started the service,
the system where it runs, and the location at the time the service
was started (as known by the system). See cnstr(6) for the conventions
regarding attributes. Plan B Name Spaces
/devs/hx Hexamite active badgets. /devs/portsportfs(8) for the local machine, /net/cs The communications point for the (caching) connection server, ndb/ccs (see ndb(8)). /lib/repl Configuration files for repl(1). /lib/ndb/vol Archives created by adsrv(8) to reflect volumes known, together with volume configuration files. /lib/namespace
/mail/box Directory of users' mail box files. /mail/box/$user/mails
/sys/doc/papers
/sys/doc/talks
/sys/log Log files created by various system services. /usr/inferno FIles for the Inferno operating system. /usr/planb Files for 2nd edition Plan B. /usr/web Web files and services. /who Directory with context information for persons. Contains a directory per user, named after the user's login name. /what Directory with context information for things. Contains a directory per place (room number) and machine (sysname). The directories for places contain a directory per known thing at that place, to hold its context information. /where Directory with context information for places. Contains a directory per place. |
SEE ALSO
|
intro(1), namespace(4), namespace(6) |