util-linux/0095-fstab-add-hint-about-systemd-reload.patch

36 lines
1.1 KiB
Diff

From e85fb0785608ce9f9b7d1e4b61813eb2693501f8 Mon Sep 17 00:00:00 2001
From: Karel Zak <kzak@redhat.com>
Date: Thu, 10 Aug 2023 12:34:49 +0200
Subject: fstab: add hint about systemd reload
Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=2117355
Upstream: http://github.com/util-linux/util-linux/commit/9105d3cdd819a499f5029d1009952acf6f51b7d9
Signed-off-by: Karel Zak <kzak@redhat.com>
---
sys-utils/fstab.5 | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/sys-utils/fstab.5 b/sys-utils/fstab.5
index a9e9f8c54..c1af2b347 100644
--- a/sys-utils/fstab.5
+++ b/sys-utils/fstab.5
@@ -53,6 +53,15 @@ sequentially iterate through
.B fstab
doing their thing.
+The file is not read by
+.BR mount (8)
+only but often is used by many other tools
+and daemons, and proper functionality may require additional steps. For
+example, on systemd-based systems, it's recommended to use 'systemctl
+daemon-reload' after
+.B fstab
+modification.
+
Each filesystem is described on a separate line.
Fields on each line are separated by tabs or spaces.
Lines starting with '#' are comments. Blank lines are ignored.
--
2.40.1