]> git.ipfire.org Git - thirdparty/util-linux.git/commit
mount: add hint about systemctl daemon-reload
authorKarel Zak <kzak@redhat.com>
Mon, 13 Dec 2021 12:22:56 +0000 (13:22 +0100)
committerKarel Zak <kzak@redhat.com>
Mon, 13 Dec 2021 12:22:56 +0000 (13:22 +0100)
commit1db0715169954a8f3898f7ca9d3902cd6c27084d
tree61d698d89420655797cac963e40b78cf68a8e620
parent0cfb8c5c3205a92ae81def278cdded63ea47094f
mount: add hint about systemctl daemon-reload

This commit implements an extra hint for systemd based distros to
inform users that units currently used by systemd are older than
fstab.  This situation is usually unwanted, and 'systemctl
daemon-reload' is recommended.

The message is printed only on terminal to avoid extra messages in
logs, etc.

Addresses: https://github.com/systemd/systemd/pull/20476
Signed-off-by: Karel Zak <kzak@redhat.com>
include/pathnames.h
sys-utils/mount.c