From: Zbigniew Jędrzejewski-Szmek Date: Sat, 25 Jul 2015 17:03:44 +0000 (-0400) Subject: man: describe masking of .network files better X-Git-Tag: v223~32^2 X-Git-Url: http://git.ipfire.org/?p=thirdparty%2Fsystemd.git;a=commitdiff_plain;h=57e27ec0ada6775d85a5201cd25e989d92d0a1af man: describe masking of .network files better This should clear up some confusion in https://github.com/systemd/systemd/issues/717. This basically copies the description from systemd.unit to this man page. Masking can happen also in /run, so strike the part about /etc, and also add the magic work "mask". --- diff --git a/man/systemd.link.xml b/man/systemd.link.xml index d9b1879c598..b630ef7a17e 100644 --- a/man/systemd.link.xml +++ b/man/systemd.link.xml @@ -68,11 +68,10 @@ in /etc have the highest priority, files in /run take precedence over files with the same name in /usr/lib. This can be used to - override a system-supplied link file with a local file if needed; - a symlink in /etc with the same name as a - link file in /usr/lib, pointing to - /dev/null, disables the link file - entirely. + override a system-supplied link file with a local file if needed. + As a special case, an empty file (file size 0) or symlink with the + same name pointing to /dev/null, disable the + configuration file entirely (it is "masked"). The link file contains a [Match] section, which determines if a given link file may be applied to a given diff --git a/man/systemd.netdev.xml b/man/systemd.netdev.xml index 7e92d1d99c6..3ef14207584 100644 --- a/man/systemd.netdev.xml +++ b/man/systemd.netdev.xml @@ -80,11 +80,9 @@ /run take precedence over files with the same name in /usr/lib. This can be used to override a system-supplied configuration file with a local file if - needed; a symlink in /etc with the same name - as a configuration file in /usr/lib, pointing - to /dev/null, disables the configuration file - entirely. - + needed. As a special case, an empty file (file size 0) or symlink + with the same name pointing to /dev/null, + disable the configuration file entirely (it is "masked"). diff --git a/man/systemd.network.xml b/man/systemd.network.xml index fbb0bef5c26..5be1102894f 100644 --- a/man/systemd.network.xml +++ b/man/systemd.network.xml @@ -76,11 +76,9 @@ /run take precedence over files with the same name in /usr/lib. This can be used to override a system-supplied configuration file with a local file if - needed; a symlink in /etc with the same name - as a configuration file in /usr/lib, pointing - to /dev/null, disables the configuration file - entirely. - + needed. As a special case, an empty file (file size 0) or symlink + with the same name pointing to /dev/null, + disable the configuration file entirely (it is "masked").