From a2c7958e7c7a315fbb02e058aed8526ae31488e7 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Fri, 24 Apr 2009 16:03:01 +0000 Subject: revert sizelimit/offset options (they do not match our patched util-linux-ng, thanks teuf) --- draklive | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/draklive b/draklive index 92331fb..a9812ca 100755 --- a/draklive +++ b/draklive @@ -653,7 +653,7 @@ EOF require devices; my $loop = devices::find_free_loop(); - run_('losetup', '--offset', $part_start * $sector_size, '--sizelimit', $part_nb_sectors * $sector_size, $loop, $dest) + run_('losetup', '-o', $part_start * $sector_size, '-s', $part_nb_sectors * $sector_size, $loop, $dest) or die "unable to setup loop device"; MDV::Draklive::Utils::device_mkfs($loop, $fs) or die "unable to format $dest\n"; -- cgit v1.2.1