></TR
><TR
><TD
><TT
CLASS="FILENAME"
>lib</TT
></TD
><TD
>Variable state information</TD
></TR
><TR
><TD
><TT
CLASS="FILENAME"
>local</TT
></TD
><TD
>Variable data for /usr/local</TD
></TR
><TR
><TD
><TT
CLASS="FILENAME"
>lock</TT
></TD
><TD
>Lock files</TD
></TR
><TR
><TD
><TT
CLASS="FILENAME"
>log</TT
></TD
><TD
>Log files and directories</TD
></TR
><TR
><TD
><TT
CLASS="FILENAME"
>opt</TT
></TD
><TD
>Variable data for /opt</TD
></TR
><TR
><TD
><TT
CLASS="FILENAME"
>run</TT
></TD
><TD
>Data relevant to running processes</TD
></TR
><TR
><TD
><TT
CLASS="FILENAME"
>spool</TT
></TD
><TD
>Application spool data</TD
></TR
><TR
><TD
><TT
CLASS="FILENAME"
>tmp</TT
></TD
><TD
>Temporary files preserved between system reboots</TD
></TR
></TBODY
></TABLE
><P
></P
></DIV
><P
>Several directories are `reserved' in the sense that they must
not be used arbitrarily by some new application, since they would
conflict with historical and/or local practice. They are:</P
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><PRE
CLASS="SCREEN"
> /var/backups
/var/cron
/var/msgs
/var/preserve</PRE
></TD
></TR
></TABLE
></DIV
><DIV
CLASS="SECTION"
><HR><H2
CLASS="SECTION"
><A
NAME="SPECIFICOPTIONS20"
>Specific Options</A
></H2
><P
>The following directories, or symbolic links to directories,
must be in <TT
CLASS="FILENAME"
>/var</TT
>, if the corresponding subsystem
is installed:</P
><DIV
CLASS="INFORMALTABLE"
><P
></P
><A
NAME="AEN2129"
></A
><TABLE
BORDER="0"
FRAME="void"
CLASS="CALSTABLE"
><COL><COL><THEAD
><TR
><TH
>Directory</TH
><TH
>Description</TH
></TR
></THEAD
><TBODY
><TR
><TD
><TT
CLASS="FILENAME"
>account</TT
></TD
><TD
>Process accounting logs (optional)</TD
></TR
><TR
><TD
><TT
CLASS="FILENAME"
>crash</TT
></TD
><TD
>System crash dumps (optional)</TD
></TR
><TR
><TD
><TT
CLASS="FILENAME"
>games</TT
></TD
><TD
>Variable game data (optional)</TD
></TR
><TR
><TD
><TT
CLASS="FILENAME"
>mail</TT
></TD
><TD
>User mailbox files (optional)</TD
></TR
><TR
><TD
><TT
CLASS="FILENAME"
>yp</TT
></TD
><TD
>Network Information Service (NIS) database files (optional)
</TD
></TR
></TBODY
></TABLE
><P
></P
></DIV
></DIV
><DIV
CLASS="SECTION"
><HR><H2
CLASS="SECTION"
><A
NAME="VARACCOUNTPROCESSACCOUNTINGLOGS"
>/var/account : Process accounting logs (optional)</A
></H2
><DIV
CLASS="SECTION"
><H3
CLASS="SECTION"
><A
NAME="PURPOSE32"
>Purpose</A
></H3
><P
>This directory holds the current active process accounting log
and the composite process usage data (as used in some UNIX-like
systems by <B
CLASS="COMMAND"
>lastcomm</B
> and
<B
CLASS="COMMAND"
>sa</B
>).</P
></DIV
></DIV
><DIV
CLASS="SECTION"
><HR><H2
CLASS="SECTION"
><A
NAME="VARCACHEAPPLICATIONCACHEDATA"
>/var/cache : Application cache data</A
></H2
><DIV
CLASS="SECTION"
><H3
CLASS="SECTION"
><A
NAME="PURPOSE33"
>Purpose</A
></H3
><P
><TT
CLASS="FILENAME"
>/var/cache</TT
> is intended for cached data from
applications. Such data is locally generated as a result of
time-consuming I/O or calculation. The application must be able to
regenerate or restore the data. Unlike
<TT
CLASS="FILENAME"
>/var/spool</TT
>, the cached files can be deleted
without data loss. The data must remain valid between invocations of
the application and rebooting the system.</P
><P
>Files located under <TT
CLASS="FILENAME"
>/var/cache</TT
> may be
expired in an application specific manner, by the system
administrator, or both. The application must always be able to
recover from manual deletion of these files (generally because of a
disk space shortage). No other requirements are made on the data
format of the cache directories.</P
><DIV
CLASS="TIP"
><P
></P
><TABLE
CLASS="TIP"
WIDTH="100%"
BORDER="0"
><TR
><TD
WIDTH="25"
ALIGN="CENTER"
VALIGN="TOP"
><IMG
SRC="tip.gif"
HSPACE="5"
ALT="Tip"></TD
><TH
ALIGN="LEFT"
VALIGN="CENTER"
><B
>Rationale</B
></TH
></TR
><TR
><TD
> </TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
><P
>The existence of a separate directory for cached data allows
system administrators to set different disk and backup policies from
other directories in <TT
CLASS="FILENAME"
>/var</TT
>. </P
></TD
></TR
></TABLE
></DIV
></DIV
><DIV
CLASS="SECTION"
><HR><H3
CLASS="SECTION"
><A
NAME="SPECIFICOPTIONS21"
>Specific Options</A
></H3
><DIV
CLASS="INFORMALTABLE"
><P
></P
><A
NAME="AEN2178"
></A
><TABLE
BORDER="0"
FRAME="void"
CLASS="CALSTABLE"
><COL><COL><THEAD
><TR
><TH
>Directory</TH
><TH
>Description</TH
></TR
></THEAD
><TBODY
><TR
><TD
><TT
CLASS="FILENAME"
>fonts</TT
></TD
><TD
>Locally-generated fonts (optional)</TD
></TR
><TR
><TD
><TT
CLASS="FILENAME"
>man</TT
></TD
><TD
>Locally-formatted manual pages (optional)</TD
></TR
><TR
><TD
><TT
CLASS="FILENAME"
>www</TT
></TD
><TD
>WWW proxy or cache data (optional)</TD
></TR
><TR
><TD
><TT
CLASS="FILENAME"
><package></TT
></TD
><TD
>Package specific cache data (optional)</TD
></TR
></TBODY
></TABLE
><P
></P
></DIV
></DIV
><DIV
CLASS="SECTION"
><HR><H3
CLASS="SECTION"
><A
NAME="VARCACHEFONTSLOCALLYGENERATEDFONTS"
>/var/cache/fonts : Locally-generated fonts (optional)</A
></H3
><DIV
CLASS="SECTION"
><H4
CLASS="SECTION"
><A
NAME="PURPOSE34"
>Purpose</A
></H4
><P
>The directory <TT
CLASS="FILENAME"
>/var/cache/fonts</TT
> should be used to store any
dynamically-created fonts. In particular, all of the fonts which are
automatically generated by <B
CLASS="COMMAND"
>mktexpk</B
> must be located in
appropriately-named subdirectories of <TT
CLASS="FILENAME"
>/var/cache/fonts</TT
>.
<A
NAME="AEN2209"
HREF="#FTN.AEN2209"
><SPAN
CLASS="footnote"
>[36]</SPAN
></A
></P
></DIV
><DIV
CLASS="SECTION"
><HR><H4
CLASS="SECTION"
><A
NAME="SPECIFICOPTIONS22"
>Specific Options</A
></H4
><P
>Other dynamically created fonts may also be placed in this tree,
under appropriately-named subdirectories of
<TT
CLASS="FILENAME"
>/var/cache/fonts</TT
>.</P
></DIV
></DIV
><DIV
CLASS="SECTION"
><HR><H3
CLASS="SECTION"
><A
NAME="VARCACHEMANLOCALLYFORMATTEDMANUALPAG"
>/var/cache/man : Locally-formatted manual pages (optional)</A
></H3
><DIV
CLASS="SECTION"
><H4
CLASS="SECTION"
><A
NAME="PURPOSE35"
>Purpose</A
></H4
><P
>This directory provides a standard location for sites that provide a
Back to home |
File page
Subscribe |
Register |
Login
| N