namespace – structure of conventional file name space|
After a user's profile has run, the file name space should adhere
to a number of conventions if the system is to behave normally.
This manual page documents those conventions by traversing the
file hierarchy and describing the points of interest. It also
serves as a guide to where things reside in the file system
proper. The traversal is far from exhaustive. |
First, here is the appearance of the file server as it appears
before any mounts or bindings.
/tmp All empty unwritable directories, place holders for mounted services and directories.
/mnt A directory containing mount points for applications.
/n A directory containing mount points for file trees imported from remote systems.
/power64 Each CPU architecture supported by Plan 9 has a directory in the root containing architecture–specific files, to be selected according to $objtype or $cputype (see 8c(1) and init(8)). Here we list only those for /386.
/386/init The initialization program used during bootstrapping; see init(8).
/386/bin Directory containing binaries for the Intel x86 architecture.
etc. Subdirectories of /386/bin containing auxiliary tools and collecting related programs.
/386/lib Directory of object code libraries as used by 8l (see 8l(1)).
/386/include Directory of x86–specific C include files.
/386/9* The files in /386 beginning with a 9 are binaries of the operating system or its bootstrap loader.
/386/mkfile Selected by mk(1) when $objtype is 386, this file configures mk to compile for the Intel x86 architecture.
/rc Isomorphic to the architecture–dependent directories, this holds executables and libraries for the shell, rc(1).
/rc/bin Directory of shell executable files.
/rc/lib Directory of shell libraries.
/lib/ndb The network database used by the networking software; see ndb(6) and ndb(8).
/sys/include Directory of machine–independent C include files.
/sys/lib Pieces of programs not easily held in the various bins.
/sys/lib/acidDirectory of acid(1) load modules.
/sys/lib/distSoftware used to assemble the distribution's installation floppy.
/sys/doc Other system documentation.
/sys/log Log files created by various system services.
/sys/src Top–level directory of system sources.
/sys/src/cmd Source to the commands in the bin directories.
/sys/src/9 Source to the operating system for terminals and CPU servers.
/sys/src/fs Source to the operating system for file servers.
/sys/src/lib*Source to the libraries.
/usr A directory containing home directories of users.
/mail Directory of electronic mail; see mail(1).
/mail/box Directory of users' mail box files.
/mail/lib Directory of alias files, etc.
/acme Directory of tools for acme(1).
/cron Directory of files for cron(8).
/cfg/systemSystem–specific files, often addenda to their namesakes, notably cpurc, termrc, namespace, and consoledb.
The following files and directories are modified in the standard
name space, as defined by /lib/namespace (see namespace(6)).