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/sd_id128_get_machine.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/sd_id128_get_machine.xml')
-rw-r--r-- | man/sd_id128_get_machine.xml | 28 |
1 files changed, 21 insertions, 7 deletions
diff --git a/man/sd_id128_get_machine.xml b/man/sd_id128_get_machine.xml index ea9f999f88..40b9b6f582 100644 --- a/man/sd_id128_get_machine.xml +++ b/man/sd_id128_get_machine.xml @@ -141,7 +141,9 @@ <listitem><para>Returned by <function>sd_id128_get_machine()</function> and <function>sd_id128_get_machine_app_specific()</function> when <filename>/etc/machine-id</filename> - is missing.</para></listitem> + is missing.</para> + + <xi:include href="version-info.xml" xpointer="v242"/></listitem> </varlistentry> <varlistentry> @@ -150,7 +152,9 @@ <listitem><para>Returned by <function>sd_id128_get_machine()</function> and <function>sd_id128_get_machine_app_specific()</function> when <filename>/etc/machine-id</filename> is empty or all zeros. Also returned by <function>sd_id128_get_invocation()</function> when the - invocation ID is all zeros.</para></listitem> + invocation ID is all zeros.</para> + + <xi:include href="version-info.xml" xpointer="v242"/></listitem> </varlistentry> <varlistentry> @@ -158,7 +162,9 @@ <listitem><para>Returned by <function>sd_id128_get_machine()</function> and <function>sd_id128_get_machine_app_specific()</function> when the content of - <filename>/etc/machine-id</filename> is <literal>uninitialized</literal>.</para></listitem> + <filename>/etc/machine-id</filename> is <literal>uninitialized</literal>.</para> + + <xi:include href="version-info.xml" xpointer="v253"/></listitem> </varlistentry> <varlistentry> @@ -166,28 +172,36 @@ <listitem><para>Returned by <function>sd_id128_get_boot()</function> and <function>sd_id128_get_boot_app_specific()</function> when <filename>/proc/</filename> is not - mounted.</para></listitem> + mounted.</para> + + <xi:include href="version-info.xml" xpointer="v253"/></listitem> </varlistentry> <varlistentry> <term><constant>-ENXIO</constant></term> <listitem><para>Returned by <function>sd_id128_get_invocation()</function> if no invocation ID is - set.</para></listitem> + set.</para> + + <xi:include href="version-info.xml" xpointer="v242"/></listitem> </varlistentry> <varlistentry> <term><constant>-EUCLEAN</constant></term> <listitem><para>Returned by any of the functions described here when the configured value has - invalid format.</para></listitem> + invalid format.</para> + + <xi:include href="version-info.xml" xpointer="v253"/></listitem> </varlistentry> <varlistentry> <term><constant>-EPERM</constant></term> <listitem><para>Requested information could not be retrieved because of insufficient permissions. - </para></listitem> + </para> + + <xi:include href="version-info.xml" xpointer="v242"/></listitem> </varlistentry> </variablelist> </refsect2> |