From 5c493bd92f1a6858e9cb5c98d667b0aabd945b28 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Thu, 8 Dec 2016 14:29:44 +0100 Subject: libmount: use x-systemd options as X-* The previous patch introduces X-* options namespace for options that have to be maintained in user space. Unfortunately, systemd users already use mount options that are necessary by umount or another operations. The conclusion from discussion with systemd guys is to store all the systemd options in userspace. It seems better to add one line exception to libmount than force all fstab users to rename x-systemd to X-systemd. Addresses: https://github.com/systemd/systemd/pull/3904 Signed-off-by: Karel Zak --- sys-utils/mount.8 | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sys-utils/mount.8') diff --git a/sys-utils/mount.8 b/sys-utils/mount.8 index 7f45ca7db..36e7ce650 100644 --- a/sys-utils/mount.8 +++ b/sys-utils/mount.8 @@ -1154,6 +1154,10 @@ that maintain mount options in user space is a bad idea, because it's necessary to link all tools that use the options with libmount and there is no guarantee that the options will be always available (for example after a move mount operation or in unshared namespace). + +Note that x-systemd mount options are maintained as X-* options, the rename is +unnecessary to keep existing fstab settings backwardly compatible. + .TP .BR x-mount.mkdir [ = \fImode\fR ] Allow to make a target directory (mountpoint). The optional argument -- cgit v1.2.3-55-g7522