]> git.proxmox.com Git - systemd.git/blame - man/systemd-fstab-generator.html
Imported Upstream version 217
[systemd.git] / man / systemd-fstab-generator.html
CommitLineData
663996b3
MS
1<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>systemd-fstab-generator</title><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><style>
2 a.headerlink {
3 color: #c60f0f;
4 font-size: 0.8em;
5 padding: 0 4px 0 4px;
6 text-decoration: none;
7 visibility: hidden;
8 }
9
10 a.headerlink:hover {
11 background-color: #c60f0f;
12 color: white;
13 }
14
15 h1:hover > a.headerlink, h2:hover > a.headerlink, h3:hover > a.headerlink, dt:hover > a.headerlink {
16 visibility: visible;
17 }
18 </style><a href="index.html">Index </a>·
19 <a href="systemd.directives.html">Directives </a>·
20 <a href="../python-systemd/index.html">Python </a>·
21 <a href="../libudev/index.html">libudev </a>·
5eef597e 22 <a href="../libudev/index.html">gudev </a><span style="float:right">systemd 217</span><hr><div class="refentry"><a name="systemd-fstab-generator"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>systemd-fstab-generator — Unit generator for /etc/fstab</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><p><code class="filename">/usr/lib/systemd/system-generators/systemd-fstab-generator</code></p></div><div class="refsect1"><a name="idm214179125120"></a><h2 id="Description">Description<a class="headerlink" title="Permalink to this headline" href="#Description">¶</a></h2><p><code class="filename">systemd-fstab-generator</code> is
663996b3
MS
23 a generator that translates
24 <code class="filename">/etc/fstab</code> (see
25 <a href="fstab.html"><span class="citerefentry"><span class="refentrytitle">fstab</span>(5)</span></a>
26 for details) into native systemd units early at boot
27 and when configuration of the system manager is
28 reloaded. This will instantiate mount and swap units
60f067b4
JS
29 as necessary.</p><p>The <code class="varname">passno</code> field is treated
30 like a simple boolean, and the ordering information is
31 discarded. However, if the root file system is
32 checked, it is checked before all the other
33 file systems.</p><p>See
663996b3
MS
34 <a href="systemd.mount.html"><span class="citerefentry"><span class="refentrytitle">systemd.mount</span>(5)</span></a>
35 and
36 <a href="systemd.swap.html"><span class="citerefentry"><span class="refentrytitle">systemd.swap</span>(5)</span></a>
37 for more information about special
38 <code class="filename">/etc/fstab</code> mount options this
39 generator understands.</p><p><code class="filename">systemd-fstab-generator</code>
40 implements the <a class="ulink" href="http://www.freedesktop.org/wiki/Software/systemd/Generators" target="_top">generator
5eef597e 41 specification</a>.</p></div><div class="refsect1"><a name="idm214179116160"></a><h2 id="Kernel Command Line">Kernel Command Line<a class="headerlink" title="Permalink to this headline" href="#Kernel%20Command%20Line">¶</a></h2><p><code class="filename">systemd-fstab-generator</code> understands
663996b3
MS
42 the following kernel command line parameters:</p><div class="variablelist"><dl class="variablelist"><dt id="fstab="><span class="term"><code class="varname">fstab=</code>, </span><span class="term"><code class="varname">rd.fstab=</code></span><a class="headerlink" title="Permalink to this term" href="#fstab=">¶</a></dt><dd><p>Takes a boolean
43 argument. Defaults to
14228c0d
MB
44 "<code class="literal">yes</code>". If
45 "<code class="literal">no</code>", causes the
663996b3
MS
46 generator to ignore any mounts or swaps
47 configured in
48 <code class="filename">/etc/fstab</code>. <code class="varname">rd.fstab=</code>
49 is honored only by initial RAM disk
50 (initrd) while
51 <code class="varname">fstab=</code> is
52 honored by both the main system and
5eef597e
MP
53 the initrd.</p></dd><dt id="root="><span class="term"><code class="varname">root=</code></span><a class="headerlink" title="Permalink to this term" href="#root=">¶</a></dt><dd><p>Takes the root filesystem to mount
54 in the initrd.
55 <code class="varname">root=</code> is
56 honored by the initrd.</p></dd><dt id="rootfstype="><span class="term"><code class="varname">rootfstype=</code></span><a class="headerlink" title="Permalink to this term" href="#rootfstype=">¶</a></dt><dd><p>Takes the root filesystem type that
57 will be passed to the mount command.
58 <code class="varname">rootfstype=</code> is
59 honored by the initrd.</p></dd><dt id="rootflags="><span class="term"><code class="varname">rootflags=</code></span><a class="headerlink" title="Permalink to this term" href="#rootflags=">¶</a></dt><dd><p>Takes the root filesystem mount options
60 to use. <code class="varname">rootflags=</code> is
61 honored by the initrd.</p></dd><dt id="mount.usr="><span class="term"><code class="varname">mount.usr=</code></span><a class="headerlink" title="Permalink to this term" href="#mount.usr=">¶</a></dt><dd><p>Takes the <code class="filename">/usr</code>
62 filesystem to be mounted by the initrd. If
63 <code class="varname">mount.usrfstype=</code> or
64 <code class="varname">mount.usrflags=</code> is set, then
65 <code class="varname">mount.usr=</code> will default to the value set in
66 <code class="varname">root=</code>.</p><p>Otherwise this parameter defaults to the
67 <code class="filename">/usr</code> entry
68 found in <code class="filename">/etc/fstab</code> on the root
69 filesystem.</p><p><code class="varname">mount.usr=</code> is honored by the initrd.
70 </p></dd><dt id="mount.usrfstype="><span class="term"><code class="varname">mount.usrfstype=</code></span><a class="headerlink" title="Permalink to this term" href="#mount.usrfstype=">¶</a></dt><dd><p>Takes the <code class="filename">/usr</code>
71 filesystem type that will be passed to the mount
72 command. If <code class="varname">mount.usr=</code> or
73 <code class="varname">mount.usrflags=</code> is set, then
74 <code class="varname">mount.usrfstype=</code> will default to the value set in
75 <code class="varname">rootfstype=</code>.</p><p>Otherwise this value will be read from the
76 <code class="filename">/usr</code> entry in
77 <code class="filename">/etc/fstab</code> on the root filesystem.</p><p><code class="varname">mount.usrfstype=</code> is
78 honored by the initrd.</p></dd><dt id="mount.usrflags="><span class="term"><code class="varname">mount.usrflags=</code></span><a class="headerlink" title="Permalink to this term" href="#mount.usrflags=">¶</a></dt><dd><p>Takes the <code class="filename">/usr</code>
79 filesystem mount options to use. If
80 <code class="varname">mount.usr=</code> or
81 <code class="varname">mount.usrfstype=</code> is set, then
82 <code class="varname">mount.usrflages=</code> will default to the value set in
83 <code class="varname">rootflags=</code>.</p><p>Otherwise this value will be read from the
84 <code class="filename">/usr</code> entry in
85 <code class="filename">/etc/fstab</code> on the root filesystem.</p><p><code class="varname">mount.usrflags=</code> is
86 honored by the initrd.</p></dd></dl></div></div><div class="refsect1"><a name="idm214183029264"></a><h2 id="See Also">See Also<a class="headerlink" title="Permalink to this headline" href="#See%20Also">¶</a></h2><p>
663996b3
MS
87 <a href="systemd.html"><span class="citerefentry"><span class="refentrytitle">systemd</span>(1)</span></a>,
88 <a href="fstab.html"><span class="citerefentry"><span class="refentrytitle">fstab</span>(5)</span></a>,
89 <a href="systemd.mount.html"><span class="citerefentry"><span class="refentrytitle">systemd.mount</span>(5)</span></a>,
90 <a href="systemd.swap.html"><span class="citerefentry"><span class="refentrytitle">systemd.swap</span>(5)</span></a>,
91 <a href="systemd-cryptsetup-generator.html"><span class="citerefentry"><span class="refentrytitle">systemd-cryptsetup-generator</span>(8)</span></a>
92 </p></div></div></body></html>