file-hierarchy.xml | file-hierarchy.xml | |||
---|---|---|---|---|
skipping to change at line 60 | skipping to change at line 60 | |||
<refsect1> | <refsect1> | |||
<title>Description</title> | <title>Description</title> | |||
<para>Operating systems using the | <para>Operating systems using the | |||
<citerefentry><refentrytitle>systemd</refentrytitle><manvol num>1</manvolnum></citerefentry> | <citerefentry><refentrytitle>systemd</refentrytitle><manvol num>1</manvolnum></citerefentry> | |||
system and service manager are organized based on a | system and service manager are organized based on a | |||
file system hierarchy inspired by UNIX, more | file system hierarchy inspired by UNIX, more | |||
specifically the hierarchy described in the <ulink | specifically the hierarchy described in the <ulink | |||
url="http://refspecs.linuxfoundation.org/FHS_2.3/fhs-2.3.ht ml">File | url="http://refspecs.linuxfoundation.org/FHS_2.3/fhs-2.3.ht ml">File | |||
System Hierarchy</ulink> specification and | System Hierarchy</ulink> specification and | |||
<citerefentry><refentrytitle>hier</refentrytitle><manvolnum >7</manvolnum></citerefentry>. This | <citerefentry project='man-pages'><refentrytitle>hier</refe ntrytitle><manvolnum>7</manvolnum></citerefentry>. This | |||
manual page describes a more minimal, modernized | manual page describes a more minimal, modernized | |||
subset of these specifications that defines more | subset of these specifications that defines more | |||
strictly the suggestions and restrictions systemd | strictly the suggestions and restrictions systemd | |||
makes on the file system hierarchy.</para> | makes on the file system hierarchy.</para> | |||
<para>Many of the paths described here are queriable | <para>Many of the paths described here are queriable | |||
with the | with the | |||
<citerefentry><refentrytitle>systemd-path</refentrytitle><m anvolnum>1</manvolnum></citerefentry> | <citerefentry><refentrytitle>systemd-path</refentrytitle><m anvolnum>1</manvolnum></citerefentry> | |||
tool.</para> | tool.</para> | |||
</refsect1> | </refsect1> | |||
skipping to change at line 181 | skipping to change at line 181 | |||
temporary files. This directory is | temporary files. This directory is | |||
usually mounted as | usually mounted as | |||
a <literal>tmpfs</literal> instance, and | a <literal>tmpfs</literal> instance, and | |||
should hence not be used for larger | should hence not be used for larger | |||
files. (Use | files. (Use | |||
<filename>/var/tmp</filename> for | <filename>/var/tmp</filename> for | |||
larger files.) Since the directory is | larger files.) Since the directory is | |||
accessible to other users of the | accessible to other users of the | |||
system it is essential that this | system it is essential that this | |||
directory is only written to with the | directory is only written to with the | |||
<citerefentry><refentrytitle>mkstemp</refen | <citerefentry project='man-pages'><refentry | |||
trytitle><manvolnum>3</manvolnum></citerefentry>, | title>mkstemp</refentrytitle><manvolnum>3</manvolnum></citerefentry>, | |||
<citerefentry><refentrytitle>mkdtemp</refen | <citerefentry project='man-pages'><refentry | |||
trytitle><manvolnum>3</manvolnum></citerefentry> | title>mkdtemp</refentrytitle><manvolnum>3</manvolnum></citerefentry> | |||
and related calls. This directory is | and related calls. This directory is | |||
usually flushed at boot-up. Also, | usually flushed at boot-up. Also, | |||
files that are not accessed within a | files that are not accessed within a | |||
certain time are usually automatically | certain time are usually automatically | |||
deleted. If applications find the | deleted. If applications find the | |||
environment variable | environment variable | |||
<varname>$TMPDIR</varname> set they | <varname>$TMPDIR</varname> set they | |||
should prefer using the directory | should prefer using the directory | |||
specified in it over directly | specified in it over directly | |||
referencing | referencing | |||
<filename>/tmp</filename> (see <citerefentr | <filename>/tmp</filename> (see <citerefentr | |||
y><refentrytitle>environ</refentrytitle><manvolnum>7</manvolnum></citerefen | y project='man-pages'><refentrytitle>environ</refentrytitle><manvolnum>7</m | |||
try> for details).</para></listitem> | anvolnum></citerefentry> | |||
and | ||||
<ulink url="http://pubs.opengroup.org/onlin | ||||
epubs/9699919799/basedefs/V1_chap08.html#tag_08_03">IEEE Std 1003.1</ulink> | ||||
for details).</para></listitem> | ||||
</varlistentry> | </varlistentry> | |||
</variablelist> | </variablelist> | |||
</refsect1> | </refsect1> | |||
<refsect1> | <refsect1> | |||
<title>Runtime Data</title> | <title>Runtime Data</title> | |||
<variablelist> | <variablelist> | |||
<varlistentry> | <varlistentry> | |||
skipping to change at line 425 | skipping to change at line 427 | |||
directory.</para></listitem> | directory.</para></listitem> | |||
</varlistentry> | </varlistentry> | |||
<varlistentry> | <varlistentry> | |||
<term><filename>/var/log</filename></term> | <term><filename>/var/log</filename></term> | |||
<listitem><para>Persistent system | <listitem><para>Persistent system | |||
logs. System components may place | logs. System components may place | |||
private logs in this directory, though | private logs in this directory, though | |||
it is recommended to do most logging | it is recommended to do most logging | |||
via the | via the | |||
<citerefentry><refentrytitle>syslog</refent rytitle><manvolnum>3</manvolnum></citerefentry> | <citerefentry project='man-pages'><refentry title>syslog</refentrytitle><manvolnum>3</manvolnum></citerefentry> | |||
and | and | |||
<citerefentry><refentrytitle>sd_journal_pri nt</refentrytitle><manvolnum>3</manvolnum></citerefentry> | <citerefentry><refentrytitle>sd_journal_pri nt</refentrytitle><manvolnum>3</manvolnum></citerefentry> | |||
calls.</para></listitem> | calls.</para></listitem> | |||
</varlistentry> | </varlistentry> | |||
<varlistentry> | <varlistentry> | |||
<term><filename>/var/spool</filename></term > | <term><filename>/var/spool</filename></term > | |||
<listitem><para>Persistent system | <listitem><para>Persistent system | |||
spool data, such as printer or mail | spool data, such as printer or mail | |||
queues.</para></listitem> | queues.</para></listitem> | |||
skipping to change at line 455 | skipping to change at line 457 | |||
can thus accept larger files. (Use | can thus accept larger files. (Use | |||
<filename>/tmp</filename> for smaller | <filename>/tmp</filename> for smaller | |||
files.) This directory is generally | files.) This directory is generally | |||
not flushed at boot-up, but time-based | not flushed at boot-up, but time-based | |||
cleanup of files that have not been | cleanup of files that have not been | |||
accessed for a certain time is | accessed for a certain time is | |||
applied. The same security | applied. The same security | |||
restrictions as with | restrictions as with | |||
<filename>/tmp</filename> apply, and | <filename>/tmp</filename> apply, and | |||
hence only | hence only | |||
<citerefentry><refentrytitle>mkstemp</refen | <citerefentry project='man-pages'><refentry | |||
trytitle><manvolnum>3</manvolnum></citerefentry>, | title>mkstemp</refentrytitle><manvolnum>3</manvolnum></citerefentry>, | |||
<citerefentry><refentrytitle>mkdtemp</refen | <citerefentry project='man-pages'><refentry | |||
trytitle><manvolnum>3</manvolnum></citerefentry> | title>mkdtemp</refentrytitle><manvolnum>3</manvolnum></citerefentry> | |||
or similar calls should be used to | or similar calls should be used to | |||
make use of this directory. If | make use of this directory. If | |||
applications find the environment | applications find the environment | |||
variable <varname>$TMPDIR</varname> | variable <varname>$TMPDIR</varname> | |||
set they should prefer using the | set they should prefer using the | |||
directory specified in it over | directory specified in it over | |||
directly referencing | directly referencing | |||
<filename>/var/tmp</filename> (see <citeref | <filename>/var/tmp</filename> (see <citeref | |||
entry><refentrytitle>environ</refentrytitle><manvolnum>7</manvolnum></citer | entry project='man-pages'><refentrytitle>environ</refentrytitle><manvolnum> | |||
efentry> for details). | 7</manvolnum></citerefentry> | |||
for details). | ||||
</para></listitem> | </para></listitem> | |||
</varlistentry> | </varlistentry> | |||
</variablelist> | </variablelist> | |||
</refsect1> | </refsect1> | |||
<refsect1> | <refsect1> | |||
<title>Virtual Kernel and API File Systems</title> | <title>Virtual Kernel and API File Systems</title> | |||
<variablelist> | <variablelist> | |||
skipping to change at line 527 | skipping to change at line 530 | |||
</varlistentry> | </varlistentry> | |||
<varlistentry> | <varlistentry> | |||
<term><filename>/proc</filename></term> | <term><filename>/proc</filename></term> | |||
<listitem><para>A virtual kernel file | <listitem><para>A virtual kernel file | |||
system exposing the process list and | system exposing the process list and | |||
other functionality. This file system | other functionality. This file system | |||
is mostly an API to interface with the | is mostly an API to interface with the | |||
kernel and not a place where normal | kernel and not a place where normal | |||
files may be stored. For details, see | files may be stored. For details, see | |||
<citerefentry><refentrytitle>proc</refentry title><manvolnum>5</manvolnum></citerefentry>. A | <citerefentry project='man-pages'><refentry title>proc</refentrytitle><manvolnum>5</manvolnum></citerefentry>. A | |||
number of special purpose virtual file | number of special purpose virtual file | |||
systems might be mounted below this | systems might be mounted below this | |||
directory.</para></listitem> | directory.</para></listitem> | |||
</varlistentry> | </varlistentry> | |||
<varlistentry> | <varlistentry> | |||
<term><filename>/proc/sys</filename></term> | <term><filename>/proc/sys</filename></term> | |||
<listitem><para>A hierarchy below | <listitem><para>A hierarchy below | |||
<filename>/proc</filename> that | <filename>/proc</filename> that | |||
exposes a number of kernel | exposes a number of kernel | |||
skipping to change at line 963 | skipping to change at line 966 | |||
</row> | </row> | |||
</tbody> | </tbody> | |||
</tgroup> | </tgroup> | |||
</table> | </table> | |||
</refsect1> | </refsect1> | |||
<refsect1> | <refsect1> | |||
<title>See Also</title> | <title>See Also</title> | |||
<para> | <para> | |||
<citerefentry><refentrytitle>systemd</refentrytitle ><manvolnum>1</manvolnum></citerefentry>, | <citerefentry><refentrytitle>systemd</refentrytitle ><manvolnum>1</manvolnum></citerefentry>, | |||
<citerefentry><refentrytitle>hier</refentrytitle><m anvolnum>7</manvolnum></citerefentry>, | <citerefentry project='man-pages'><refentrytitle>hi er</refentrytitle><manvolnum>7</manvolnum></citerefentry>, | |||
<citerefentry><refentrytitle>systemd-path</refentry title><manvolnum>1</manvolnum></citerefentry>, | <citerefentry><refentrytitle>systemd-path</refentry title><manvolnum>1</manvolnum></citerefentry>, | |||
<citerefentry><refentrytitle>systemd-efi-boot-gener ator</refentrytitle><manvolnum>8</manvolnum></citerefentry>, | <citerefentry><refentrytitle>systemd-efi-boot-gener ator</refentrytitle><manvolnum>8</manvolnum></citerefentry>, | |||
<citerefentry><refentrytitle>sysctl.d</refentrytitl e><manvolnum>5</manvolnum></citerefentry>, | <citerefentry><refentrytitle>sysctl.d</refentrytitl e><manvolnum>5</manvolnum></citerefentry>, | |||
<citerefentry><refentrytitle>tmpfiles.d</refentryti tle><manvolnum>5</manvolnum></citerefentry>, | <citerefentry><refentrytitle>tmpfiles.d</refentryti tle><manvolnum>5</manvolnum></citerefentry>, | |||
<citerefentry><refentrytitle>pkg-config</refentryti tle><manvolnum>1</manvolnum></citerefentry>, | <citerefentry project='die-net'><refentrytitle>pkg- config</refentrytitle><manvolnum>1</manvolnum></citerefentry>, | |||
<citerefentry><refentrytitle>systemd.unit</refentry title><manvolnum>5</manvolnum></citerefentry> | <citerefentry><refentrytitle>systemd.unit</refentry title><manvolnum>5</manvolnum></citerefentry> | |||
</para> | </para> | |||
</refsect1> | </refsect1> | |||
</refentry> | </refentry> | |||
End of changes. 9 change blocks. | ||||
19 lines changed or deleted | 24 lines changed or added | |||
This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/ |