]> git.ipfire.org Git - thirdparty/util-linux.git/commit
libmount: support X-mount.noloop
authorKarel Zak <kzak@redhat.com>
Tue, 19 Nov 2024 10:54:00 +0000 (11:54 +0100)
committerKarel Zak <kzak@redhat.com>
Tue, 19 Nov 2024 10:54:00 +0000 (11:54 +0100)
commit5e9711473fc871155017c7747364b9e4ae2ecfb9
treea835eda866090858846114282b2343b20c44832c
parent4c4b248c68149089c8be2f830214bb2be693307e
libmount: support X-mount.noloop

libmount automatically creates a loop device and mounts it if the
source of the mount is a regular file that contains a well-known
filesystem. However, in some cases, this feature may be unwanted. The
new mount option "X-mount.noloop" forces libmount to use the file
directly as the mount source.

Addresses: https://github.com/util-linux/util-linux/pull/3288
Signed-off-by: Karel Zak <kzak@redhat.com>
libmount/src/hook_loopdev.c
sys-utils/mount.8.adoc