From 375a8ef5ea38ea10134c125c75a12bbf9d5ba7bd Mon Sep 17 00:00:00 2001 From: Lauri Kasanen Date: Wed, 14 Apr 2010 12:31:26 -0700 Subject: mount: add an optional capability to create new /dev/loopN as needed Signed-off-by: Lauri Kasanen Signed-off-by: Denys Vlasenko --- util-linux/Config.in | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'util-linux') diff --git a/util-linux/Config.in b/util-linux/Config.in index acd74a2c6..a59cc1ddf 100644 --- a/util-linux/Config.in +++ b/util-linux/Config.in @@ -901,6 +901,18 @@ config FEATURE_MOUNT_LOOP specify an offset or cryptographic options to the loopback device. (If you don't want umount to free the loop device, use "umount -D".) +config FEATURE_MOUNT_LOOP_CREATE + bool "Create new loopback devices if needed" + default n + depends on FEATURE_MOUNT_LOOP + help + Linux kernels >= 2.6.24 support unlimited loopback devices. They are + allocated for use when trying to use a loop device. The loop device + must however exist. + + This feature lets mount to try to create next /dev/loopN device + if it does not find a free one. + config FEATURE_MTAB_SUPPORT bool "Support for the old /etc/mtab file" default n -- cgit v1.2.3