]> git.ipfire.org Git - thirdparty/systemd.git/blob - man/systemd-fstab-generator.xml
man: fix invalid links to generator wiki pages
[thirdparty/systemd.git] / man / systemd-fstab-generator.xml
1 <?xml version="1.0"?>
2 <!--*-nxml-*-->
3 <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
4 <!--
5 This file is part of systemd.
6
7 Copyright 2012 Lennart Poettering
8
9 systemd is free software; you can redistribute it and/or modify it
10 under the terms of the GNU Lesser General Public License as published by
11 the Free Software Foundation; either version 2.1 of the License, or
12 (at your option) any later version.
13
14 systemd is distributed in the hope that it will be useful, but
15 WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 Lesser General Public License for more details.
18
19 You should have received a copy of the GNU Lesser General Public License
20 along with systemd; If not, see <http://www.gnu.org/licenses/>.
21 -->
22 <refentry id="systemd-fstab-generator">
23
24 <refentryinfo>
25 <title>systemd-fstab-generator</title>
26 <productname>systemd</productname>
27
28 <authorgroup>
29 <author>
30 <contrib>Developer</contrib>
31 <firstname>Lennart</firstname>
32 <surname>Poettering</surname>
33 <email>lennart@poettering.net</email>
34 </author>
35 </authorgroup>
36 </refentryinfo>
37
38 <refmeta>
39 <refentrytitle>systemd-fstab-generator</refentrytitle>
40 <manvolnum>8</manvolnum>
41 </refmeta>
42
43 <refnamediv>
44 <refname>systemd-fstab-generator</refname>
45 <refpurpose>Unit generator for /etc/fstab</refpurpose>
46 </refnamediv>
47
48 <refsynopsisdiv>
49 <para><filename>/usr/lib/systemd/system-generators/systemd-fstab-generator</filename></para>
50 </refsynopsisdiv>
51
52 <refsect1>
53 <title>Description</title>
54
55 <para><filename>systemd-fstab-generator</filename> is
56 a generator that translates
57 <filename>/etc/fstab</filename> (see
58 <citerefentry><refentrytitle>fstab</refentrytitle><manvolnum>5</manvolnum></citerefentry>
59 for details) into native systemd units early at boot
60 and when configuration of the system manager is
61 reloaded. This will instantiate mount and swap units
62 units as necessary.</para>
63
64 <para>See
65 <citerefentry><refentrytitle>systemd.mount</refentrytitle><manvolnum>5</manvolnum></citerefentry>
66 and
67 <citerefentry><refentrytitle>systemd.swap</refentrytitle><manvolnum>5</manvolnum></citerefentry>
68 for more information about special
69 <filename>/etc/fstab</filename> mount options this
70 generator understands.</para>
71
72 <para><filename>systemd-fstab-generator</filename>
73 implements the <ulink
74 url="http://www.freedesktop.org/wiki/Software/systemd/Generators">generator
75 specification</ulink>.</para>
76 </refsect1>
77
78 <refsect1>
79 <title>Kernel Command Line</title>
80
81 <para><filename>systemd-fstab-generator</filename> understands
82 the following kernel command line parameters:</para>
83
84 <variablelist>
85
86 <varlistentry>
87 <term><varname>fstab=</varname></term>
88 <term><varname>rd.fstab=</varname></term>
89
90 <listitem><para>Takes a boolean
91 argument. Defaults to
92 <literal>yes</literal>. If
93 <literal>no</literal> causes the
94 generator to ignore any mounts or swaps
95 configured in
96 <filename>/etc/fstab</filename>. <varname>rd.fstab=</varname>
97 is honoured only be initial RAM disk
98 (initrd) while
99 <varname>luks.fstab=</varname> is
100 honoured by both the main system and
101 the initrd. </para></listitem>
102 </varlistentry>
103
104 </variablelist>
105 </refsect1>
106
107 <refsect1>
108 <title>See Also</title>
109 <para>
110 <citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
111 <citerefentry><refentrytitle>fstab</refentrytitle><manvolnum>5</manvolnum></citerefentry>,
112 <citerefentry><refentrytitle>systemd.mount</refentrytitle><manvolnum>5</manvolnum></citerefentry>,
113 <citerefentry><refentrytitle>systemd.swap</refentrytitle><manvolnum>5</manvolnum></citerefentry>,
114 <citerefentry><refentrytitle>systemd-cryptsetup-generator</refentrytitle><manvolnum>8</manvolnum></citerefentry>
115 </para>
116 </refsect1>
117
118 </refentry>