From 5ac59dfd2d5b9074581570fe722930977ead6ae5 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Fri, 28 Apr 2023 19:56:59 +0200 Subject: [PATCH] mount: fix and improve man page subdir desc Addresses: https://github.com/util-linux/util-linux/commit/2186677456f2a03d6645874ccc3e675f204cdb5b#commitcomment-110992331 Signed-off-by: Karel Zak --- sys-utils/mount.8.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-utils/mount.8.adoc b/sys-utils/mount.8.adoc index 4b11ef9ae3..9c7bed2257 100644 --- a/sys-utils/mount.8.adoc +++ b/sys-utils/mount.8.adoc @@ -700,7 +700,7 @@ Allow to make a target directory (mountpoint) if it does not exist yet. The opti **X-mount.subdir=**__directory__:: Allow mounting sub-directory from a filesystem instead of the root directory. For now, this feature is implemented by temporary filesystem root directory mount in unshared namespace and then bind the sub-directory to the final mount point and umount the root of the filesystem. The sub-directory mount shows up atomically for the rest of the system although it is implemented by multiple *mount*(2) syscalls. + -Note that this feature will not work in session with an unshared private mount namespace (after "unshare --mount). If you want to use it in a mount namespace, then it requires "unshare --mount --propagation shared". +Note that this feature will not work in session with an unshared private mount namespace (after *unshare --mount*). If you want to use it in a mount namespace, then it requires *unshare --mount --propagation shared*. + This feature is EXPERIMENTAL. -- 2.47.3