diff --git a/Makefile.am b/Makefile.am index 239dc6304a..b31bde4252 100644 --- a/Makefile.am +++ b/Makefile.am @@ -499,7 +499,8 @@ MANPAGES = \ man/systemd-analyze.1 \ man/systemd-tty-ask-password-agent.1 \ man/systemd-getty-generator.8 \ - man/systemd-system-update-generator.8 + man/systemd-system-update-generator.8 \ + man/systemd-fstab-generator.8 MANPAGES_ALIAS = \ man/reboot.8 \ diff --git a/man/systemd-cryptsetup-generator.xml b/man/systemd-cryptsetup-generator.xml index dfe55c7251..e2aa0428aa 100644 --- a/man/systemd-cryptsetup-generator.xml +++ b/man/systemd-cryptsetup-generator.xml @@ -139,7 +139,8 @@ systemd1, crypttab5, systemd-cryptsetup@.service8, - cryptsetup8 + cryptsetup8, + systemd-fstab-generator8 diff --git a/man/systemd-fstab-generator.xml b/man/systemd-fstab-generator.xml new file mode 100644 index 0000000000..a526bcfdb2 --- /dev/null +++ b/man/systemd-fstab-generator.xml @@ -0,0 +1,118 @@ + + + + + + + + systemd-fstab-generator + systemd + + + + Developer + Lennart + Poettering + lennart@poettering.net + + + + + + systemd-fstab-generator + 8 + + + + systemd-fstab-generator + Unit generator for /etc/fstab + + + + /usr/lib/systemd/system-generators/systemd-fstab-generator + + + + Description + + systemd-fstab-generator is + a generator that translates + /etc/fstab (see + fstab5 + 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 + units as necessary. + + See + systemd.mount5 + and + systemd.swap5 + 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 honoured only be initial RAM disk + (initrd) while + luks.fstab= is + honoured by both the main system and + the initrd. + + + + + + + See Also + + systemd1, + fstab5, + systemd.mount5, + systemd.swap5, + systemd-cryptsetup-generator8 + + + + diff --git a/man/systemd.mount.xml b/man/systemd.mount.xml index d733f81539..4bf652323e 100644 --- a/man/systemd.mount.xml +++ b/man/systemd.mount.xml @@ -104,7 +104,12 @@ Mount units may either be configured via unit files, or via /etc/fstab (see fstab5 - for details). + for details). Mounts listed in + /etc/fstab will be converted into + native units dynamically at boot and when the + configuration of the system manager is reloaded. See + systemd-fstab-generator8 + for details about the conversion. When reading /etc/fstab a few special mount options are understood by systemd @@ -292,7 +297,8 @@ systemd.exec5, systemd.service5, systemd.device5, - mount8 + mount8, + systemd-fstab-generator8 diff --git a/man/systemd.swap.xml b/man/systemd.swap.xml index 30a15ecfc3..beb8dba210 100644 --- a/man/systemd.swap.xml +++ b/man/systemd.swap.xml @@ -93,7 +93,13 @@ Swap units may either be configured via unit files, or via /etc/fstab (see fstab5 - for details). + for details). Swaps listed in + /etc/fstab will be converted into + native units dynamically at boot and when the + configuration of the system manager is + reloaded. See + systemd-fstab-generator8 + for details about the conversion. If a swap device or file is configured in both /etc/fstab and a unit file the @@ -215,7 +221,8 @@ systemd.exec5, systemd.device5, systemd.mount5, - swapon8 + swapon8, + systemd-fstab-generator8 diff --git a/man/systemd.xml b/man/systemd.xml index 75a0defc47..24b442cb16 100644 --- a/man/systemd.xml +++ b/man/systemd.xml @@ -480,6 +480,13 @@ by systemd are covered by the Interface Stability Promise. + + Units may be generated dynamically at boot and + system manager reload time, for example based on other + configuration files or parameters passed on the kernel + command line. For details see the Generators + Specification.