From: Karel Zak Date: Fri, 28 Apr 2023 17:56:59 +0000 (+0200) Subject: mount: fix and improve man page subdir desc X-Git-Tag: v2.39~42 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5ac59dfd2d5b9074581570fe722930977ead6ae5;p=thirdparty%2Futil-linux.git 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 --- 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.