From 2e612ce1b7f9d1faee44c4f8787fda1ea929dc73 Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Tue, 29 Oct 2024 01:45:08 +0900 Subject: [PATCH] man: update documentation for 'networkctl reload' --- man/networkctl.xml | 23 ++++++++++++++++------- 1 file changed, 16 insertions(+), 7 deletions(-) diff --git a/man/networkctl.xml b/man/networkctl.xml index 9e2a65b879a..22f9744c955 100644 --- a/man/networkctl.xml +++ b/man/networkctl.xml @@ -413,14 +413,23 @@ s - Service VLAN, m - Two-port MAC Relay (TPMR) reload - Reload .netdev and .network files. - If a new .netdev file is found, then the corresponding netdev is created. - Note that even if an existing .netdev is modified or removed, - systemd-networkd does not update or remove the netdev. - If a new, modified or removed .network file is found, then all interfaces - which match the file are reconfigured. + + Reload .netdev and .network files. + + If a new or modified .netdev file is found, then the corresponding + netdev is created or updated, respectively. Note, if the corresponding interface already exists, + then some of new settings may not be applied. E.g., VLAN ID cannot be changed after the interface + was created, so changing [VLAN] Id= will not take effect if the matching VLAN + interface already exists. To apply such settings, the interfaces need to be removed manually before + reload. Also note that even if a .netdev file is removed, + systemd-networkd does not remove the existing netdev corresponding to the file. + - + If a new, modified, or removed .network file is found, then all + interfaces that matched the file are reconfigured. + + + -- 2.47.3