]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
mount: fix and improve man page subdir desc
authorKarel Zak <kzak@redhat.com>
Fri, 28 Apr 2023 17:56:59 +0000 (19:56 +0200)
committerKarel Zak <kzak@redhat.com>
Fri, 28 Apr 2023 17:56:59 +0000 (19:56 +0200)
Addresses: https://github.com/util-linux/util-linux/commit/2186677456f2a03d6645874ccc3e675f204cdb5b#commitcomment-110992331
Signed-off-by: Karel Zak <kzak@redhat.com>
sys-utils/mount.8.adoc

index 4b11ef9ae340e7b330b896113566b5d8430385a9..9c7bed22576b3937b6efdd02a09c9105c72fb14f 100644 (file)
@@ -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.