diff options
author | Abderrahim Kitouni <abderrahim.kitouni@codethink.co.uk> | 2023-08-22 18:52:36 +0200 |
---|---|---|
committer | Abderrahim Kitouni <abderrahim.kitouni@codethink.co.uk> | 2023-08-29 15:07:24 +0200 |
commit | ec07c3c80b2b1bfa6788500202006ff85f5ae4f4 (patch) | |
tree | ab6fb6ca9620a58fc32cdf3dba9b8a0f77d48d18 /man/systemd-fstab-generator.xml | |
parent | man: Add xinclude namespace (diff) | |
download | systemd-ec07c3c80b2b1bfa6788500202006ff85f5ae4f4.tar.xz systemd-ec07c3c80b2b1bfa6788500202006ff85f5ae4f4.zip |
man: add version info
This tries to add information about when each option was added. It goes
back to version 183.
The version info is included from a separate file to allow generating it,
which would allow more control on the formatting of the final output.
Diffstat (limited to 'man/systemd-fstab-generator.xml')
-rw-r--r-- | man/systemd-fstab-generator.xml | 48 |
1 files changed, 37 insertions, 11 deletions
diff --git a/man/systemd-fstab-generator.xml b/man/systemd-fstab-generator.xml index a1174530a0..b046e382e7 100644 --- a/man/systemd-fstab-generator.xml +++ b/man/systemd-fstab-generator.xml @@ -73,7 +73,9 @@ <listitem><para>Takes a boolean argument. Defaults to <literal>yes</literal>. If <literal>no</literal>, causes the generator to ignore any mounts or swap devices configured in <filename>/etc/fstab</filename>. <varname>rd.fstab=</varname> is honored only in the initrd, while - <varname>fstab=</varname> is honored by both the main system and the initrd.</para></listitem> + <varname>fstab=</varname> is honored by both the main system and the initrd.</para> + + <xi:include href="version-info.xml" xpointer="v186"/></listitem> </varlistentry> <varlistentry> @@ -95,7 +97,9 @@ system as root file system of the OS. This is useful in combination with <varname>mount.usr=</varname> (see below) in order to combine a volatile root file system with a separate, immutable <filename>/usr/</filename> file system. Also see - <varname>systemd.volatile=</varname> below.</para></listitem> + <varname>systemd.volatile=</varname> below.</para> + + <xi:include href="version-info.xml" xpointer="v217"/></listitem> </varlistentry> <varlistentry> @@ -103,7 +107,9 @@ <listitem><para>Takes the root filesystem type that will be passed to the mount command. <varname>rootfstype=</varname> is - honored by the initrd.</para></listitem> + honored by the initrd.</para> + + <xi:include href="version-info.xml" xpointer="v217"/></listitem> </varlistentry> <varlistentry> @@ -115,7 +121,9 @@ <para>Note that unlike most kernel command line options this setting does not override settings made in configuration files (specifically: the mount option string in <filename>/etc/fstab</filename>). See - <citerefentry><refentrytitle>systemd-remount-fs.service</refentrytitle><manvolnum>8</manvolnum></citerefentry>.</para></listitem> + <citerefentry><refentrytitle>systemd-remount-fs.service</refentrytitle><manvolnum>8</manvolnum></citerefentry>.</para> + + <xi:include href="version-info.xml" xpointer="v217"/></listitem> </varlistentry> <varlistentry> @@ -133,7 +141,9 @@ <filename>/etc/fstab</filename> on the root filesystem.</para> <para><varname>mount.usr=</varname> is honored by the initrd. - </para></listitem> + </para> + + <xi:include href="version-info.xml" xpointer="v217"/></listitem> </varlistentry> <varlistentry> @@ -151,7 +161,9 @@ <filename>/etc/fstab</filename> on the root filesystem.</para> <para><varname>mount.usrfstype=</varname> is honored by the - initrd.</para></listitem> + initrd.</para> + + <xi:include href="version-info.xml" xpointer="v217"/></listitem> </varlistentry> <varlistentry> @@ -168,7 +180,9 @@ <filename>/etc/fstab</filename> on the root filesystem.</para> <para><varname>mount.usrflags=</varname> is honored by the - initrd.</para></listitem> + initrd.</para> + + <xi:include href="version-info.xml" xpointer="v217"/></listitem> </varlistentry> <varlistentry> @@ -180,7 +194,9 @@ set this indicates that the root file system (or <filename>/usr/</filename>) shall be mounted from Verity volumes with the specified hashes. If these kernel command line options are set the root (or <filename>/usr/</filename>) file system is thus mounted from a device mapper volume - <filename>/dev/mapper/root</filename> (or <filename>/dev/mapper/usr</filename>).</para></listitem> + <filename>/dev/mapper/root</filename> (or <filename>/dev/mapper/usr</filename>).</para> + + <xi:include href="version-info.xml" xpointer="v251"/></listitem> </varlistentry> <varlistentry> @@ -228,7 +244,9 @@ <varname>mount.usr=</varname> is that the former operates on top of a regular root file system and temporarily obstructs the files and directories above its <filename>/usr/</filename> subdirectory, while the latter does not hide any files, but simply mounts a unpopulated tmpfs as root file system - and combines it with a user picked <filename>/usr/</filename> file system.</para></listitem> + and combines it with a user picked <filename>/usr/</filename> file system.</para> + + <xi:include href="version-info.xml" xpointer="v233"/></listitem> </varlistentry> <varlistentry> @@ -237,7 +255,9 @@ <listitem><para>Takes a boolean argument or enables the option if specified without an argument. If disabled, causes the generator to ignore any swap devices configured in <filename>/etc/fstab</filename>. - Defaults to enabled.</para></listitem> + Defaults to enabled.</para> + + <xi:include href="version-info.xml" xpointer="v254"/></listitem> </varlistentry> <varlistentry> @@ -255,6 +275,8 @@ <programlisting> systemd.mount-extra=/dev/sda1:/mount-point:ext4:rw,noatime</programlisting> </para> + + <xi:include href="version-info.xml" xpointer="v254"/> </listitem> </varlistentry> @@ -271,6 +293,8 @@ systemd.mount-extra=/dev/sda1:/mount-point:ext4:rw,noatime</programlisting> <programlisting> systemd.swap=/dev/sda2:x-systemd.makefs</programlisting> </para> + + <xi:include href="version-info.xml" xpointer="v254"/> </listitem> </varlistentry> </variablelist> @@ -286,7 +310,9 @@ systemd.swap=/dev/sda2:x-systemd.makefs</programlisting> <listitem><para>This credential may contain addition mounts to establish, in the same format as <citerefentry project='man-pages'><refentrytitle>fstab</refentrytitle><manvolnum>5</manvolnum></citerefentry>, with - one mount per line. It is read in addition to <filename>/etc/fstab</filename>.</para></listitem> + one mount per line. It is read in addition to <filename>/etc/fstab</filename>.</para> + + <xi:include href="version-info.xml" xpointer="v254"/></listitem> </varlistentry> </variablelist> </refsect1> |