></TR
><TR
><TD
><TT
CLASS="FILENAME"
>termcap</TT
></TD
><TD
>Terminal capability database (optional)</TD
></TR
><TR
><TD
><TT
CLASS="FILENAME"
>termcap.db</TT
></TD
><TD
>Terminal capability database (optional)</TD
></TR
></TBODY
></TABLE
><P
></P
></DIV
><P
>Other (application-specific) files may appear here, but a distributor
may place them in <TT
CLASS="FILENAME"
>/usr/lib</TT
> at their discretion.
<A
NAME="AEN1944"
HREF="#FTN.AEN1944"
><SPAN
CLASS="footnote"
>[34]</SPAN
></A
></P
></DIV
></DIV
><DIV
CLASS="SECTION"
><HR><H3
CLASS="SECTION"
><A
NAME="USRSHARESGMLSGMLANDXMLDATA"
>/usr/share/sgml : SGML data (optional)</A
></H3
><DIV
CLASS="SECTION"
><H4
CLASS="SECTION"
><A
NAME="PURPOSE29"
>Purpose</A
></H4
><P
><TT
CLASS="FILENAME"
>/usr/share/sgml</TT
> contains
architecture-independent files used by SGML applications, such
as ordinary catalogs (not the centralized ones, see
<TT
CLASS="FILENAME"
>/etc/sgml</TT
>), DTDs, entities, or style
sheets.</P
></DIV
><DIV
CLASS="SECTION"
><HR><H4
CLASS="SECTION"
><A
NAME="SPECIFICOPTIONS19"
>Specific Options</A
></H4
><P
>The following directories, or symbolic links to directories,
must be in <TT
CLASS="FILENAME"
>/usr/share/sgml</TT
>, if the corresponding
subsystem is installed:</P
><DIV
CLASS="INFORMALTABLE"
><P
></P
><A
NAME="AEN1983"
></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"
>docbook</TT
></TD
><TD
>docbook DTD (optional)</TD
></TR
><TR
><TD
><TT
CLASS="FILENAME"
>tei</TT
></TD
><TD
>tei DTD (optional)</TD
></TR
><TR
><TD
><TT
CLASS="FILENAME"
>html</TT
></TD
><TD
>html DTD (optional)</TD
></TR
><TR
><TD
><TT
CLASS="FILENAME"
>mathml</TT
></TD
><TD
>mathml DTD (optional)</TD
></TR
></TBODY
></TABLE
><P
></P
></DIV
><P
>Other files that are not specific to a given DTD may reside in
their own subdirectory.</P
></DIV
></DIV
><DIV
CLASS="SECTION"
><HR><H3
CLASS="SECTION"
><A
NAME="AEN2007"
>/usr/share/xml : XML data (optional)</A
></H3
><DIV
CLASS="SECTION"
><H4
CLASS="SECTION"
><A
NAME="AEN2009"
>Purpose</A
></H4
><P
><TT
CLASS="FILENAME"
>/usr/share/xml</TT
> contains
architecture-independent files used by XML applications, such
as ordinary catalogs (not the centralized ones, see
<TT
CLASS="FILENAME"
>/etc/sgml</TT
>), DTDs, entities, or style
sheets.</P
></DIV
><DIV
CLASS="SECTION"
><HR><H4
CLASS="SECTION"
><A
NAME="AEN2014"
>Specific Options</A
></H4
><P
>The following directories, or symbolic links to directories,
must be in <TT
CLASS="FILENAME"
>/usr/share/xml</TT
>, if the corresponding
subsystem is installed:</P
><DIV
CLASS="INFORMALTABLE"
><P
></P
><A
NAME="AEN2018"
></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"
>docbook</TT
></TD
><TD
>docbook XML DTD (optional)</TD
></TR
><TR
><TD
><TT
CLASS="FILENAME"
>xhtml</TT
></TD
><TD
>XHTML DTD (optional)</TD
></TR
><TR
><TD
><TT
CLASS="FILENAME"
>mathml</TT
></TD
><TD
>MathML DTD (optional)</TD
></TR
></TBODY
></TABLE
><P
></P
></DIV
></DIV
></DIV
></DIV
><DIV
CLASS="SECTION"
><HR><H2
CLASS="SECTION"
><A
NAME="USRSRCSOURCECODE"
>/usr/src : Source code (optional)</A
></H2
><DIV
CLASS="SECTION"
><H3
CLASS="SECTION"
><A
NAME="PURPOSE30"
>Purpose</A
></H3
><P
>Source code may be place placed in this
subdirectory, only for reference purposes.
<A
NAME="AEN2042"
HREF="#FTN.AEN2042"
><SPAN
CLASS="footnote"
>[35]</SPAN
></A
></P
></DIV
></DIV
></DIV
><DIV
CLASS="CHAPTER"
><HR><H1
><A
NAME="THEVARHIERARCHY"
></A
>Chapter 5. The /var Hierarchy</H1
><DIV
CLASS="SECTION"
><H2
CLASS="SECTION"
><A
NAME="PURPOSE31"
>Purpose</A
></H2
><P
><TT
CLASS="FILENAME"
>/var</TT
> contains variable data files. This
includes spool directories and files, administrative and logging data,
and transient and temporary files.</P
><P
>Some portions of <TT
CLASS="FILENAME"
>/var</TT
> are not shareable
between different systems. For instance,
<TT
CLASS="FILENAME"
>/var/log</TT
>, <TT
CLASS="FILENAME"
>/var/lock</TT
>, and
<TT
CLASS="FILENAME"
>/var/run</TT
>. Other portions may be shared, notably
<TT
CLASS="FILENAME"
>/var/mail</TT
>, <TT
CLASS="FILENAME"
>/var/cache/man</TT
>,
<TT
CLASS="FILENAME"
>/var/cache/fonts</TT
>, and
<TT
CLASS="FILENAME"
>/var/spool/news</TT
>.</P
><P
><TT
CLASS="FILENAME"
>/var</TT
> is specified here in order to make it
possible to mount <TT
CLASS="FILENAME"
>/usr</TT
> read-only. Everything
that once went into <TT
CLASS="FILENAME"
>/usr</TT
> that is written to
during system operation (as opposed to installation and software
maintenance) must be in <TT
CLASS="FILENAME"
>/var</TT
>.</P
><P
>If <TT
CLASS="FILENAME"
>/var</TT
> cannot be made a separate
partition, it is often preferable to move <TT
CLASS="FILENAME"
>/var</TT
>
out of the root partition and into the <TT
CLASS="FILENAME"
>/usr</TT
>
partition. (This is sometimes done to reduce the size of the root
partition or when space runs low in the root partition.) However,
<TT
CLASS="FILENAME"
>/var</TT
> must not be linked to
<TT
CLASS="FILENAME"
>/usr</TT
> because this makes separation of
<TT
CLASS="FILENAME"
>/usr</TT
> and <TT
CLASS="FILENAME"
>/var</TT
> more difficult
and is likely to create a naming conflict. Instead, link
<TT
CLASS="FILENAME"
>/var</TT
> to <TT
CLASS="FILENAME"
>/usr/var</TT
>.</P
><P
>Applications must generally not add directories to the top level
of <TT
CLASS="FILENAME"
>/var</TT
>. Such directories should only be added
if they have some system-wide implication, and in consultation with
the FHS mailing list.</P
></DIV
><DIV
CLASS="SECTION"
><HR><H2
CLASS="SECTION"
><A
NAME="REQUIREMENTS12"
>Requirements</A
></H2
><P
>The following directories, or symbolic links to directories, are
required in <TT
CLASS="FILENAME"
>/var</TT
>.</P
><DIV
CLASS="INFORMALTABLE"
><P
></P
><A
NAME="AEN2080"
></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"
>cache</TT
></TD
><TD
>Application cache data</TD
Back to home |
File page
Subscribe |
Register |
Login
| N