]> git.ipfire.org Git - thirdparty/util-linux.git/commit
libmount: (subdir) restrict for real mounts only
authorKarel Zak <kzak@redhat.com>
Wed, 9 Apr 2025 10:15:57 +0000 (12:15 +0200)
committerKarel Zak <kzak@redhat.com>
Mon, 26 May 2025 09:27:31 +0000 (11:27 +0200)
commit22b91501d30a65d25ecf48ce5169ec70848117b8
tree986182d7ca1d3ed47f082249148da4e2de061366
parentcfb80587da7bf3d6a8eeb9b846702d6d731aa1c6
libmount: (subdir) restrict for real mounts only

It's now possible to use, for example, for bind operations, but it
does not make sense as you can specify the target with the
subdirectory.

Signed-off-by: Karel Zak <kzak@redhat.com>
(cherry picked from commit 437a271f7108f689d350f1b3d837490d3d283c3c)
libmount/src/hook_subdir.c
sys-utils/mount.8.adoc