summaryrefslogtreecommitdiffstats
path: root/man/networkctl.xml
diff options
context:
space:
mode:
authorMike Yuan <me@yhndnzj.com>2024-09-08 18:09:35 +0200
committerMike Yuan <me@yhndnzj.com>2024-09-09 23:20:42 +0200
commit0d3787deacc96d74b94b75c7b62282973c6df014 (patch)
tree6cc70111dee23194ac3c78becb236f52ead162ed /man/networkctl.xml
parentnetworkctl-status-link: show netdev files associated with link (diff)
downloadsystemd-0d3787deacc96d74b94b75c7b62282973c6df014.tar.xz
systemd-0d3787deacc96d74b94b75c7b62282973c6df014.zip
networkctl: support editing netdev files by link and cat ":all"
Also, don't abuse RET_GATHER in verb_cat(), where the failures are most likely unrelated to each other. Closes #34281
Diffstat (limited to 'man/networkctl.xml')
-rw-r--r--man/networkctl.xml12
1 files changed, 7 insertions, 5 deletions
diff --git a/man/networkctl.xml b/man/networkctl.xml
index 9c7e35b4b0..9e2a65b879 100644
--- a/man/networkctl.xml
+++ b/man/networkctl.xml
@@ -434,8 +434,9 @@ s - Service VLAN, m - Two-port MAC Relay (TPMR)
<filename>/run/</filename>, depending on whether <option>--runtime</option> is specified.
Specially, if the name is prefixed by <literal>@</literal>, it will be treated as
a network interface, and editing will be performed on the network config files associated
- with it. Additionally, the interface name can be suffixed with <literal>:network</literal> (default)
- or <literal>:link</literal>, in order to choose the type of network config to operate on.</para>
+ with it. Additionally, the interface name can be suffixed with <literal>:network</literal> (default),
+ <literal>:link</literal>, or <literal>:netdev</literal>, in order to choose the type of network config
+ to operate on.</para>
<para>If <option>--drop-in=</option> is specified, edit the drop-in file instead of
the main configuration file. Unless <option>--no-reload</option> is specified,
@@ -460,9 +461,10 @@ s - Service VLAN, m - Two-port MAC Relay (TPMR)
<optional><replaceable>FILE</replaceable>|<replaceable>@DEVICE</replaceable>…</optional>
</term>
<listitem>
- <para>Show network configuration files. This command honors the <literal>@</literal> prefix in the
- same way as <command>edit</command>. When no argument is specified,
- <citerefentry><refentrytitle>networkd.conf</refentrytitle><manvolnum>5</manvolnum></citerefentry>
+ <para>Show network configuration files. This command honors the <literal>@</literal> prefix in a
+ similar way as <command>edit</command>, with support for an additional suffix <literal>:all</literal>
+ for showing all types of configuration files associated with the interface at once. When no argument
+ is specified, <citerefentry><refentrytitle>networkd.conf</refentrytitle><manvolnum>5</manvolnum></citerefentry>
and its drop-in files will be shown.</para>
<xi:include href="version-info.xml" xpointer="v254"/>