From 0d3787deacc96d74b94b75c7b62282973c6df014 Mon Sep 17 00:00:00 2001 From: Mike Yuan Date: Sun, 8 Sep 2024 18:09:35 +0200 Subject: 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 --- man/networkctl.xml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'man/networkctl.xml') 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) /run/, depending on whether is specified. Specially, if the name is prefixed by @, 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 :network (default) - or :link, in order to choose the type of network config to operate on. + with it. Additionally, the interface name can be suffixed with :network (default), + :link, or :netdev, in order to choose the type of network config + to operate on. If is specified, edit the drop-in file instead of the main configuration file. Unless is specified, @@ -460,9 +461,10 @@ s - Service VLAN, m - Two-port MAC Relay (TPMR) FILE|@DEVICE - Show network configuration files. This command honors the @ prefix in the - same way as edit. When no argument is specified, - networkd.conf5 + Show network configuration files. This command honors the @ prefix in a + similar way as edit, with support for an additional suffix :all + for showing all types of configuration files associated with the interface at once. When no argument + is specified, networkd.conf5 and its drop-in files will be shown. -- cgit v1.2.3