1SYSTEMD-FSTAB-GENERATOR(8)  systemd-fstab-generator SYSTEMD-FSTAB-GENERATOR(8)
2
3
4

NAME

6       systemd-fstab-generator - Unit generator for /etc/fstab
7

SYNOPSIS

9       /usr/lib/systemd/system-generators/systemd-fstab-generator
10

DESCRIPTION

12       systemd-fstab-generator is a generator that translates /etc/fstab (see
13       fstab(5) for details) into native systemd units early at boot and when
14       configuration of the system manager is reloaded. This will instantiate
15       mount and swap units as necessary.
16
17       The passno field is treated like a simple boolean, and the ordering
18       information is discarded. However, if the root file system is checked,
19       it is checked before all the other file systems.
20
21       See systemd.mount(5) and systemd.swap(5) for more information about
22       special /etc/fstab mount options this generator understands.
23
24       systemd-fstab-generator implements systemd.generator(7).
25

KERNEL COMMAND LINE

27       systemd-fstab-generator understands the following kernel command line
28       parameters:
29
30       fstab=, rd.fstab=
31           Takes a boolean argument. Defaults to "yes". If "no", causes the
32           generator to ignore any mounts or swaps configured in /etc/fstab.
33           rd.fstab= is honored only by initial RAM disk (initrd) while fstab=
34           is honored by both the main system and the initrd.
35
36       root=
37           Takes the root filesystem to mount in the initrd.  root= is honored
38           by the initrd.
39
40       rootfstype=
41           Takes the root filesystem type that will be passed to the mount
42           command.  rootfstype= is honored by the initrd.
43
44       rootflags=
45           Takes the root filesystem mount options to use.  rootflags= is
46           honored by the initrd.
47
48       mount.usr=
49           Takes the /usr filesystem to be mounted by the initrd. If
50           mount.usrfstype= or mount.usrflags= is set, then mount.usr= will
51           default to the value set in root=.
52
53           Otherwise this parameter defaults to the /usr entry found in
54           /etc/fstab on the root filesystem.
55
56           mount.usr= is honored by the initrd.
57
58       mount.usrfstype=
59           Takes the /usr filesystem type that will be passed to the mount
60           command. If mount.usr= or mount.usrflags= is set, then
61           mount.usrfstype= will default to the value set in rootfstype=.
62
63           Otherwise this value will be read from the /usr entry in /etc/fstab
64           on the root filesystem.
65
66           mount.usrfstype= is honored by the initrd.
67
68       mount.usrflags=
69           Takes the /usr filesystem mount options to use. If mount.usr= or
70           mount.usrfstype= is set, then mount.usrflages= will default to the
71           value set in rootflags=.
72
73           Otherwise this value will be read from the /usr entry in /etc/fstab
74           on the root filesystem.
75
76           mount.usrflags= is honored by the initrd.
77

SEE ALSO

79       systemd(1), fstab(5), systemd.mount(5), systemd.swap(5), systemd-
80       cryptsetup-generator(8)
81
82
83
84systemd 219                                         SYSTEMD-FSTAB-GENERATOR(8)
Impressum