diff options
author | Lauri Kasanen | 2010-04-14 12:31:26 -0700 |
---|---|---|
committer | Denys Vlasenko | 2010-04-14 12:31:26 -0700 |
commit | 375a8ef5ea38ea10134c125c75a12bbf9d5ba7bd (patch) | |
tree | 1bd21b3e2ed9e15f92e5d0bdb03b276cac6f7a74 /util-linux | |
parent | 0ecc11659285337c0430f1b7004eb3b2901a93d3 (diff) | |
download | busybox-375a8ef5ea38ea10134c125c75a12bbf9d5ba7bd.zip busybox-375a8ef5ea38ea10134c125c75a12bbf9d5ba7bd.tar.gz |
mount: add an optional capability to create new /dev/loopN as needed
Signed-off-by: Lauri Kasanen <curaga@operamail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'util-linux')
-rw-r--r-- | util-linux/Config.in | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/util-linux/Config.in b/util-linux/Config.in index acd74a2..a59cc1d 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 |