Index · Directives · Python · libudev · gudev systemd 212

Name

systemd-fstab-generator — Unit generator for /etc/fstab

Synopsis

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

Description

systemd-fstab-generator is a generator that translates /etc/fstab (see fstab(5) for details) into native systemd units early at boot and when configuration of the system manager is reloaded. This will instantiate mount and swap units as necessary.

The passno field is treated like a simple boolean, and the ordering information is discarded. However, if the root file system is checked, it is checked before all the other file systems.

See systemd.mount(5) and systemd.swap(5) for more information about special /etc/fstab mount options this generator understands.

systemd-fstab-generator implements the generator specification.

Kernel Command Line

systemd-fstab-generator understands the following kernel command line parameters:

fstab=, rd.fstab=

Takes a boolean argument. Defaults to "yes". If "no", causes the generator to ignore any mounts or swaps configured in /etc/fstab. rd.fstab= is honored only by initial RAM disk (initrd) while fstab= is honored by both the main system and the initrd.

See Also

systemd(1), fstab(5), systemd.mount(5), systemd.swap(5), systemd-cryptsetup-generator(8)