diff options
author | Lauri Kasanen <curaga@operamail.com> | 2010-04-14 12:31:26 -0700 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2010-04-14 12:31:26 -0700 |
commit | 375a8ef5ea38ea10134c125c75a12bbf9d5ba7bd (patch) | |
tree | 1bd21b3e2ed9e15f92e5d0bdb03b276cac6f7a74 /util-linux | |
parent | 0ecc11659285337c0430f1b7004eb3b2901a93d3 (diff) | |
download | busybox-w32-375a8ef5ea38ea10134c125c75a12bbf9d5ba7bd.tar.gz busybox-w32-375a8ef5ea38ea10134c125c75a12bbf9d5ba7bd.tar.bz2 busybox-w32-375a8ef5ea38ea10134c125c75a12bbf9d5ba7bd.zip |
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 acd74a2c6..a59cc1ddf 100644 --- a/util-linux/Config.in +++ b/util-linux/Config.in | |||
@@ -901,6 +901,18 @@ config FEATURE_MOUNT_LOOP | |||
901 | specify an offset or cryptographic options to the loopback device. | 901 | specify an offset or cryptographic options to the loopback device. |
902 | (If you don't want umount to free the loop device, use "umount -D".) | 902 | (If you don't want umount to free the loop device, use "umount -D".) |
903 | 903 | ||
904 | config FEATURE_MOUNT_LOOP_CREATE | ||
905 | bool "Create new loopback devices if needed" | ||
906 | default n | ||
907 | depends on FEATURE_MOUNT_LOOP | ||
908 | help | ||
909 | Linux kernels >= 2.6.24 support unlimited loopback devices. They are | ||
910 | allocated for use when trying to use a loop device. The loop device | ||
911 | must however exist. | ||
912 | |||
913 | This feature lets mount to try to create next /dev/loopN device | ||
914 | if it does not find a free one. | ||
915 | |||
904 | config FEATURE_MTAB_SUPPORT | 916 | config FEATURE_MTAB_SUPPORT |
905 | bool "Support for the old /etc/mtab file" | 917 | bool "Support for the old /etc/mtab file" |
906 | default n | 918 | default n |