diff options
author | Lennart Poettering <lennart@poettering.net> | 2020-06-16 11:43:11 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2020-06-16 15:48:10 +0200 |
commit | e031166e15184d861bcfc0dfe8d6378178b89e74 (patch) | |
tree | 1d7be4c7e39f67efdc59be763288a42e3459e9d3 /man | |
parent | cdfd853744ee9348691e9bbe4d2775e5415ba119 (diff) | |
download | systemd-e031166e15184d861bcfc0dfe8d6378178b89e74.tar.gz |
repart: add simple specifier expansion in Label=
Strictly speaking this is a compat breakage, but given the tool was
added only in the last release, let's try to sail under the radar, and
fix this early before anyone notices it wasn't supported always.
Diffstat (limited to 'man')
-rw-r--r-- | man/repart.d.xml | 39 |
1 files changed, 37 insertions, 2 deletions
diff --git a/man/repart.d.xml b/man/repart.d.xml index f2c155e200..648d32625f 100644 --- a/man/repart.d.xml +++ b/man/repart.d.xml @@ -1,7 +1,8 @@ <?xml version='1.0'?> <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"> -<refentry id="repart.d" conditional='ENABLE_REPART'> +<refentry id="repart.d" conditional='ENABLE_REPART' + xmlns:xi="http://www.w3.org/2001/XInclude"> <refentryinfo> <title>repart.d</title> @@ -214,7 +215,7 @@ setting is not used for matching. It is also not used when a label is already set for an existing partition. It is thus only used when a partition is newly created or when an existing one had a no label set (that is: an empty label). If not specified a label derived from the partition type is - automatically used.</para></listitem> + automatically used. Simple specifier expansion is supported, see below.</para></listitem> </varlistentry> <varlistentry> @@ -316,6 +317,40 @@ </refsect1> <refsect1> + <title>Specifiers</title> + + <para>Specifiers may be used in the <varname>Label=</varname> setting. The following expansions are understood:</para> + <table class='specifiers'> + <title>Specifiers available</title> + <tgroup cols='3' align='left' colsep='1' rowsep='1'> + <colspec colname="spec" /> + <colspec colname="mean" /> + <colspec colname="detail" /> + <thead> + <row> + <entry>Specifier</entry> + <entry>Meaning</entry> + <entry>Details</entry> + </row> + </thead> + <tbody> + <xi:include href="standard-specifiers.xml" xpointer="a"/> + <xi:include href="standard-specifiers.xml" xpointer="b"/> + <xi:include href="standard-specifiers.xml" xpointer="B"/> + <xi:include href="standard-specifiers.xml" xpointer="H"/> + <xi:include href="standard-specifiers.xml" xpointer="l"/> + <xi:include href="standard-specifiers.xml" xpointer="m"/> + <xi:include href="standard-specifiers.xml" xpointer="o"/> + <xi:include href="standard-specifiers.xml" xpointer="v"/> + <xi:include href="standard-specifiers.xml" xpointer="w"/> + <xi:include href="standard-specifiers.xml" xpointer="W"/> + <xi:include href="standard-specifiers.xml" xpointer="percent"/> + </tbody> + </tgroup> + </table> + </refsect1> + + <refsect1> <title>Examples</title> <example> |