forsyth20121205-174063a80cc13 years agoHistory
332 lines · 5.9 KB · Text
RawDownload
.TH NAMESPACE 4.SH NAMEnamespace \- structure of conventional Inferno name space.SH SYNOPSISnone.SH DESCRIPTIONThe list below gives an overview of the Inferno distributionfile tree, organised into related categories..TF /appl/cmd.TP.B /The root directory. To programs running outside Inferno,this corresponds to the directory in which Inferno has beeninstalled (e.g..B C:\einfernounder Windows)..SS Mount pointsThe following are all placeholders for filesystemsthat are mounted when Inferno is running. Theycontain no data files. Although an Inferno namespaceis a dynamic entity, and devices can be mounted anywheretherein, many programs assume that devices have beenmounted in the standard places, as suggested by the skeletondirectories listed below..TF /appl/cmd.TP.B /devThe standard mount pointfor devices (e.g..IR cons (3)).TP.B /envThe standard mount point for the.IR env (3)device..TP.B /mntA directory containing mount points for applications..TP.B /chanAn empty directory, used for holdingfiles created with.IR sys-file2chan (2)..TP.B /netThe standard mount point directory for network interfaces..TP.B /nA directory containing mount points for file trees on local devices or imported fromremote systems..TP.B /progAn empty directory, the mount point for the.IR prog (3)device..TP.B /nvfsAn empty directory, the mount point for a non-volatile RAMfilesystem on devices that have one..TP.B /tmpMount point for privatedirectory of temporary files (eg,.BI /usr/ user /tmp\c)..TP.B /mailConventional place to mount mailboxes..SS Limbo applications.TF /appl/cmd.TP.B /disDis executables (commands).TP.B /dis/libDis libraries.TP.B /dis/wmDis commands that run under.IR wm (1)..TP.B /manManual pages..TP.B /docDocumentation other than manual pages..TP.B /applSource to Limbo applications..TP.B /appl/cmdSource to the commands in.BR /dis(as documented in Section 1)..TP.B /appl/wmSource to the commands in.B /dis/wm.TP.B /appl/libSource to the modules in.B /dis/lib(as documented in Section 2)..TP.B /moduleLimbo module declarations.SS Supporting data.TF /appl/cmd.TP.B /acmePrograms and guide files specific to.IR acme (1)..TP.B /fontsFont definitions.TP.B /localeTimezone and locale information.TP.B /iconsContains.IR image (6)files used by programs..TP.B /icons/tkDefault directory searched by tk's.B -bitmapoption (see.IR options (9))..TP.B /libStatic program-specific data..TP.B /lib/ndbNetwork configuration filesused by.IR cs (8),.IR dns (8)and others..SS Administration.TF /appl/cmd.TP.B /keydbStorage of secrets and certificates on signers (authentication servers)..TP.B /servicesA jungle of program-specific configuration files..SS Platform specific.TF /appl/cmd.TP.BI / PlatformBinaries specific to.IR Platform .Current platforms include.B Inferno(native binaries),.BR FreeBSD ,.BR Hp ,.BR Irix ,.BR Linux ,.BR Nt ,.BR Plan9 ,.B Solarisand.BR Unixware ..TP.BI / Platform / arch /bin.TP.BI / Platform / arch /lib.TP.BI / Platform / arch /include.I Platformspecific binaries, libraries and include filesrespectively..I Archis the architecture type, as definedin.IR 2c (10.1)and held in the.B $objtypeenvironment variable..TP.B /usrA directory containing user directories..SS Inferno source code.TF /libmemlayerxx.TP.B /emuDirectory containing source specific to .IR emu (1)..TP.B /emu/portCross-platform source for.IR emu (1)..BI /emu/ Platform.IR Platform -specificsource for.IR emu (1)..TP.B /libkfsThe emu version of.IR kfs (3)..TP.B /libbio.TP.B /libregexpSource to libraries used by hosted commands..TP.B /lib9Source to the Plan 9 emulation library, used byemu and the hosted commands..TP.B /libmemdraw.TP.B /libmemlayer.TP.B /libprefab.TP.B /libkern.TP.B /libkeyring.TP.B /libdraw.TP.B /libinterp.TP.B /libtkInferno source used by both native and hosted versions ofInferno..TP.B /asm.TP.B /limboSource to the two hosted Inferno commands ofthe same name..TP.B /utilsSource to hosted utilities run from.IR emu (1)via the.IR cmd (3)interface..TP.B /toolsA directory containing source directoriesfor hosted tools used in building Inferno(e.g..IR mk (10.1))..TP.B /osA directory holding source directories for the native versions of Inferno..TP.B /os/initLimbo source for platform-specific initialisation procedures..TP.B /os/portPortable native kernel source..TP.BI /os/ arch.IR Arch -specificnative kernel source..TP.B /os/kfsThe native kernel version of.IR kfs (3)..SS "Minimal name space"The above is all very well on a system with lots of storage,but what is actually necessary for the running of Inferno?The following gives a quick summary of the structure thatmust be provided for Inferno to function correctly..TF /appl/cmd.TP.B /disThis must contain Dis modules for all the applicationsyou plan to run, and the modules they depend on..IR Disdep (1)can be useful when trying to determine this set..TP.B /dev.TP.B /env.TP.B /chan.TP.B /net.TP.B /prog.TP.B /tmpAll empty unwritable directories, place holders for mounted services andapplications.Often these are provided by the built-in.IR root (3)..TP.B /mntA directory containing mount points for applications..TP.B /nA directory containing mount points for remote file systems..SS "Files needed to run as a server".TF /appl/cmd.TP.B /keydb/keysSee.IR keyfs (4),.IR logind (8)and.IR signer (8)..TP.B /keydb/signerkeySee.IR createsignerkey (8)and.IR logind (8)..SS "Files needed to run the window manager".TF /appl/cmd.TP.B /fontsAt least one font must be provided - a default font for Tkto use..TP.B /icons/tkThis should contain icons used by applications that run within Tk..TP.BI /user/ userAt least one user directory must exist if.IR logon (1)is to function correctly..SH SEE ALSO.IR intro (1),.IR root (3),.IR namespace (6)