summaryrefslogtreecommitdiffstats
path: root/perl-install/devices.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-06-15 10:39:55 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-06-15 10:39:55 +0000
commitc050dbc748e7a11671529fc7aa55d4e25f1a764e (patch)
tree2ec5f064d5f0dd0b8f82f353744e6fd7b257dd30 /perl-install/devices.pm
parent4bcde88e8f31cc7c4b8e8b8ada25675b38dfc2b4 (diff)
downloaddrakx-c050dbc748e7a11671529fc7aa55d4e25f1a764e.tar
drakx-c050dbc748e7a11671529fc7aa55d4e25f1a764e.tar.gz
drakx-c050dbc748e7a11671529fc7aa55d4e25f1a764e.tar.bz2
drakx-c050dbc748e7a11671529fc7aa55d4e25f1a764e.tar.xz
drakx-c050dbc748e7a11671529fc7aa55d4e25f1a764e.zip
increase the number of loopbacks (needed for mandrakemove where the default (8) is much too low :)
Diffstat (limited to 'perl-install/devices.pm')
-rw-r--r--perl-install/devices.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/devices.pm b/perl-install/devices.pm
index 434397a61..8a3654566 100644
--- a/perl-install/devices.pm
+++ b/perl-install/devices.pm
@@ -38,7 +38,7 @@ sub del_loop {
run_program::run("losetup", "-d", $dev);
}
sub find_free_loop() {
- foreach (0..7) {
+ foreach (0..255) {
my $dev = make("loop$_");
sysopen(my $F, $dev, 2) or next;
!ioctl($F, c::LOOP_GET_STATUS(), my $_tmp) && $! == 6 or next; #- 6 == ENXIO