systemd/man/systemd-delta.html
2014-04-27 12:02:08 +02:00

56 lines
6.6 KiB
HTML

<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>systemd-delta</title><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><style>
a.headerlink {
color: #c60f0f;
font-size: 0.8em;
padding: 0 4px 0 4px;
text-decoration: none;
visibility: hidden;
}
a.headerlink:hover {
background-color: #c60f0f;
color: white;
}
h1:hover > a.headerlink, h2:hover > a.headerlink, h3:hover > a.headerlink, dt:hover > a.headerlink {
visibility: visible;
}
</style><a href="index.html">Index </a>·
<a href="systemd.directives.html">Directives </a>·
<a href="../python-systemd/index.html">Python </a>·
<a href="../libudev/index.html">libudev </a>·
<a href="../libudev/index.html">gudev </a><span style="float:right">systemd 208</span><hr><div class="refentry"><a name="systemd-delta"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>systemd-delta — Find overridden configuration files</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><div class="cmdsynopsis"><p><code class="command">systemd-delta [OPTIONS...] [SUFFIX...]</code> </p></div></div><div class="refsect1"><a name="idm274676709696"></a><h2 id="Description">Description<a class="headerlink" title="Permalink to this headline" href="#Description"></a></h2><p><span class="command"><strong>systemd-delta</strong></span> may be used to
identify and compare configuration files in
<code class="filename">/etc</code> that override default
counterparts in <code class="filename">/usr</code>. The command
line argument can be one or more name of a subdirectories of
<code class="filename">/etc</code> or
<code class="filename">/usr/lib</code> to compare, such as
<code class="filename">tmpfiles.d</code>, <code class="filename">sysctl.d</code> or
<code class="filename">systemd/system</code>.</p><p>When no argument is specified a number of
well-known subdirectories are searched for overridden
files.</p></div><div class="refsect1"><a name="idm274676702256"></a><h2 id="Options">Options<a class="headerlink" title="Permalink to this headline" href="#Options"></a></h2><p>The following options are understood:</p><div class="variablelist"><dl class="variablelist"><dt id="-h"><span class="term"><code class="option">-h</code>, </span><span class="term"><code class="option">--help</code></span><a class="headerlink" title="Permalink to this term" href="#-h"></a></dt><dd><p>Prints a short help
text and exits.</p></dd><dt id="--version"><span class="term"><code class="option">--version</code></span><a class="headerlink" title="Permalink to this term" href="#--version"></a></dt><dd><p>Prints a short version
string and exits.</p></dd><dt id="--no-pager"><span class="term"><code class="option">--no-pager</code></span><a class="headerlink" title="Permalink to this term" href="#--no-pager"></a></dt><dd><p>Do not pipe output into a
pager.</p></dd><dt id="-t"><span class="term"><code class="option">-t</code>, </span><span class="term"><code class="option">--type=</code></span><a class="headerlink" title="Permalink to this term" href="#-t"></a></dt><dd><p>When listing the
differences, only list those that are
asked for. The list itself is a
comma-separated list of desired
difference types.</p><p>Recognized types are:
</p><div class="variablelist"><dl class="variablelist"><dt id="masked"><span class="term"><code class="varname">masked</code></span><a class="headerlink" title="Permalink to this term" href="#masked"></a></dt><dd><p>Show masked files</p></dd><dt id="equivalent"><span class="term"><code class="varname">equivalent</code></span><a class="headerlink" title="Permalink to this term" href="#equivalent"></a></dt><dd><p>Show overridden
files that while overridden, do
not differ in content.</p></dd><dt id="redirected"><span class="term"><code class="varname">redirected</code></span><a class="headerlink" title="Permalink to this term" href="#redirected"></a></dt><dd><p>Show files that
are redirected to another.</p></dd><dt id="overridden"><span class="term"><code class="varname">overridden</code></span><a class="headerlink" title="Permalink to this term" href="#overridden"></a></dt><dd><p>Show overridden,
and changed files.</p></dd><dt id="extended"><span class="term"><code class="varname">extended</code></span><a class="headerlink" title="Permalink to this term" href="#extended"></a></dt><dd><p>Show *.conf files in drop-in
directories for units.</p></dd><dt id="unchanged"><span class="term"><code class="varname">unchanged</code></span><a class="headerlink" title="Permalink to this term" href="#unchanged"></a></dt><dd><p>Show unmodified
files too.</p></dd></dl></div><p>
</p></dd><dt id="--diff="><span class="term"><code class="option">--diff=</code></span><a class="headerlink" title="Permalink to this term" href="#--diff="></a></dt><dd><p>When showing modified
files, when a file is overridden show a
diff as well. This option takes a
boolean argument. If omitted, it defaults
to <code class="option">true</code>.</p></dd></dl></div></div><div class="refsect1"><a name="idm274680578384"></a><h2 id="Exit status">Exit status<a class="headerlink" title="Permalink to this headline" href="#Exit%20status"></a></h2><p>On success 0 is returned, a non-zero failure
code otherwise.</p></div><div class="refsect1"><a name="idm274680577200"></a><h2 id="See Also">See Also<a class="headerlink" title="Permalink to this headline" href="#See%20Also"></a></h2><p>
<a href="systemd.html"><span class="citerefentry"><span class="refentrytitle">systemd</span>(1)</span></a>
</p></div></div></body></html>