3 <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
5 This file is part of systemd.
7 Copyright 2012 Lennart Poettering
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.
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.
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/>.
22 <refentry id="systemd-fstab-generator">
25 <title>systemd-fstab-generator</title>
26 <productname>systemd</productname>
30 <contrib>Developer</contrib>
31 <firstname>Lennart</firstname>
32 <surname>Poettering</surname>
33 <email>lennart@poettering.net</email>
39 <refentrytitle>systemd-fstab-generator</refentrytitle>
40 <manvolnum>8</manvolnum>
44 <refname>systemd-fstab-generator</refname>
45 <refpurpose>Unit generator for /etc/fstab</refpurpose>
49 <para><filename>/usr/lib/systemd/system-generators/systemd-fstab-generator</filename></para>
53 <title>Description</title>
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
65 <citerefentry><refentrytitle>systemd.mount</refentrytitle><manvolnum>5</manvolnum></citerefentry>
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>
72 <para><filename>systemd-fstab-generator</filename>
74 url="http://www.freedesktop.org/wiki/Software/systemd/Generators">generator
75 specification</ulink>.</para>
79 <title>Kernel Command Line</title>
81 <para><filename>systemd-fstab-generator</filename> understands
82 the following kernel command line parameters:</para>
87 <term><varname>fstab=</varname></term>
88 <term><varname>rd.fstab=</varname></term>
90 <listitem><para>Takes a boolean
92 <literal>yes</literal>. If
93 <literal>no</literal> causes the
94 generator to ignore any mounts or swaps
96 <filename>/etc/fstab</filename>. <varname>rd.fstab=</varname>
97 is honored only by initial RAM disk
99 <varname>fstab=</varname> is
100 honored by both the main system and
101 the initrd. </para></listitem>
108 <title>See Also</title>
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>