diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2004-06-15 11:29:22 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2004-06-15 11:29:22 +0000 |
commit | d942c99d8cd13ee627b2e0ea04f7398240fbdfd5 (patch) | |
tree | b98134aa1717ef0e4be848e4648fafd9152b6496 /perl-install | |
parent | 2ace1ea3a747da72321c6b40feb8a48dfe334989 (diff) | |
download | drakx-backup-do-not-use-d942c99d8cd13ee627b2e0ea04f7398240fbdfd5.tar drakx-backup-do-not-use-d942c99d8cd13ee627b2e0ea04f7398240fbdfd5.tar.gz drakx-backup-do-not-use-d942c99d8cd13ee627b2e0ea04f7398240fbdfd5.tar.bz2 drakx-backup-do-not-use-d942c99d8cd13ee627b2e0ea04f7398240fbdfd5.tar.xz drakx-backup-do-not-use-d942c99d8cd13ee627b2e0ea04f7398240fbdfd5.zip |
increase the number of loopbacks (needed for mandrakemove where the default (8) is much too low :)
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/devices.pm | 2 |
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 |