404 lines · 7.2 KB · Text
RawDownload
.TH NAMESPACE 4.SH NAMEnamespace \- structure of conventional file name space.SH SYNOPSISnone.SH DESCRIPTIONAfter a user's profile has run, the file name space should adhereto a number of conventions if the system is to behave normally.This manual page documents those conventions by traversing thefile 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..PPFirst, here is the appearance of the file server as it appears beforeany mounts or bindings..TF /sys/src/cmd.TP.B /The root directory..TP.B /admThe administration directory for the file server..TP.B /adm/usersList of users known to the file server; see.IR users (6)..TP.B /adm/keysAuthentication keys for users..TP.B /adm/netkeysSecureNet keys for users; see.IR securenet (8)..TP.B /adm/timezoneDirectory of timezone files; see.IR ctime (2)..TP.B /adm/timezone/EST.EDTTime zone description for Eastern Time.  Other such files are in this directory too..TP.B /adm/timezone/timezoneTime zone description for the local time zone; a copy of one of the other files in this directory..TP.B /bin.TP.B /dev.TP.B /env.TP.B /fd.TP.B /net.TP.B /proc.TP.B /srv.TP.B /tmpAll empty unwritable directories, place holders for mounted services and directories..TP.B /mntA directory containing mount points for applications..TP.B /nA directory containing mount points for file trees imported fromremote systems..TP.B /386.TP.B /68000.TP.B /68020.TP.B /alpha.TP.B /arm.TP.B /mips.TP.B /power.TP.B /sparcEach CPU architecture supported by Plan 9 has a directory in the root containingarchitecture-specific files, to be selected according to.B $objtypeor.B $cputype(see.IR 2c (1)and.IR init (8)).Here we list only those for.BR /386 ..TP.B /386/initThe initialization program used during bootstrapping; see.IR init (8)..TP.B /386/binDirectory containing binaries for the Intel x86 architecture..TP.B "/386/bin/aux.TP.B /386/bin/ip.TPetc.Subdirectories of.B /386/bincontaining auxiliary tools and collecting related programs..TP.B /386/libDirectory of object code libraries as used by.B 8l(see.IR 2l (1))..TP.B /386/includeDirectory of x86-specific C include files..TP.B /386/9*The files in.B /386beginning with a.B 9are binaries of the operating system or its bootstrap loader..TP.B /386/mkfileSelected by.IR mk (1)when.B $objtypeis.BR 386 ,this file configures.B mkto compile for the Intel x86 architecture..TP.B /rcIsomorphic to the architecture-dependent directories, this holds executablesand libraries for the shell,.IR rc (1)..TP.B /rc/binDirectory of shell executable files..TP.B /rc/libDirectory of shell libraries..TP.B /rc/lib/rcmainStartup code for.IR rc (1)..TP.B /libCollections of data, generally not parts of programs..TP.B /lib/mammals.TP.B /lib/sky.TPetc.Databases..TP.B /lib/ndbThe network database used by the networking software; see.IR ndb (6)and.IR ndb (8)..TP.B /lib/namespaceThe file used by.B newns(see.IR auth (2))to establish the default name space; see.IR namespace (6)..TP.B /lib/font/bitBitmap font files..TP.B /lib/font/hersheyVector font files..TP.B /lib/rfcDirectory of Internet `Requests For Comments',ranging from trivia to specifications..TP.B /lib/rfc/grabrfcMaintains RFC collection; usually run from.IR cron(see.IR auth (8))..TP.B /sysSystem software..TP.B /sys/includeDirectory of machine-independent C include files..TP.B /sys/libPieces of programs not easily held in the various.BR bins ..TP.B /sys/lib/acidDirectory of.IR acid (1)load modules..TP.B /sys/lib/distSoftware used to assemble the distribution's installation floppy..TP.B /sys/lib/troffDirectory of.IR troff (1)font tables and macros..TP.B /sys/lib/yaccparThe.IR yacc (1)parser..TP.B /sys/manThe manual..TP.B /sys/docOther system documentation..TP.B /sys/logLog files created by various system services..TP.B /sys/srcTop-level directory of system sources..TP.B /sys/src/cmdSource to the commands in the.B bindirectories..TP.B /sys/src/9Source to the operating system for terminals and CPU servers..TP.B /sys/src/fsSource to the operating system for file servers..TP.B /sys/src/lib*Source to the libraries..TP.B /usrA directory containing home directories of users..TP.B /mailDirectory of electronic mail; see.IR mail (1)..TP.B /mail/boxDirectory of users' mail box files..TP.B /mail/libDirectory of alias files, etc..TP.B /acmeDirectory of tools for.IR acme (1)..TP.B /cronDirectory of files for.IR cron (8)..TP.BI /cfg/ system.IR System -specificfiles, often addenda to their namesakes,notably.BR cpurc ,.BR termrc ,.BR namespace ,and.BR consoledb ..PD.PPThe following files and directories are modified in the standardname space, as defined by.B /lib/namespace(see.IR namespace (6))..TF /sys/src/cmd.TP.B /The root of the name space.  It is a kernel device,.IR root (3),serving a number of local mount points such as.B /binand.B /devas well as the bootstrap program.BR /boot .Unioned with.B /is the root of the main file server..TP.B /bootCompiled into the operating system kernel, this file establishesthe connection to the main file server and starts.BR init ;see.IR boot (8)and.IR init (8)..TP.B /binMounted here is a union directory composed of.BR /$objtype/bin ,.BR /rc/bin ,.BR $home/$objtype/bin ,etc., so.B /binis always the directory containing the appropriate executablesfor the current architecture..TP.B /devMounted here is a union directory containing I/O devices such as theconsole.RI ( cons (3)),the interface to the raster display.RI ( draw (3)),etc.The window system,.IR rio (1),prefixesthis directory with its own version,overriding many devicefiles with its own, multiplexed simulations of them..TP.B /envMounted here is the environment device,.IR env (3),which holds environment variables such as.BR $cputype ..TP.B /netMounted here is a union directory formed of all the network devicesavailable..TP.B /net/csThe communications point for the connection server,.B ndb/cs(see.IR ndb (8))..TP.B /net/dnsThe communications point for the Domain Name Server,.B ndb/dns(see.IR ndb (8))..TP.B /net/tcp.TP.B /net/udpDirectories holding the IP protocol devices(see.IR ip (3))..TP.B /procMounted here is the process device,.IR proc (3),which provides debugging access to active processes..TP.B /fdMounted here is the dup device,.IR dup (3),which holds pseudonyms for open file descriptors..TP.B /srvMounted here is the service registry,.IR srv (3),which holds connections to file servers..TP.B /srv/bootThe communication channel to the main file server for the machine..TP.B /mnt/factotumMount point for.IR factotum (4)..TP.B /mnt/wsysMount point for the window system..TP.B /mnt/termMount point for the terminal's name space as seen by the CPU serverafter a.IR cpu (1)command..TP.B /n/kremvaxA place where machine.BR kremvax 'sname space may be mounted..TP.B /tmpMounted here is each user's private.B tmp, .BR $home/tmp ..SH SEE ALSO.IR intro (1),.IR namespace (6)