diff options
author | Olivier Blin <oblin@mandriva.com> | 2009-04-24 15:37:13 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2009-04-24 15:37:13 +0000 |
commit | 96ed55ed7896e4b562ce9882507e04b700800038 (patch) | |
tree | 57e5e3a08150c3d175d9105f67dc85a3d234211d | |
parent | f156e9b4c2a3bf02273b0df6784379b4210aee4e (diff) | |
download | drakiso-96ed55ed7896e4b562ce9882507e04b700800038.tar drakiso-96ed55ed7896e4b562ce9882507e04b700800038.tar.gz drakiso-96ed55ed7896e4b562ce9882507e04b700800038.tar.bz2 drakiso-96ed55ed7896e4b562ce9882507e04b700800038.tar.xz drakiso-96ed55ed7896e4b562ce9882507e04b700800038.zip |
fix sizelimit option of losetup (and adjust offset to have same format, from Caio Begotti)
-rwxr-xr-x | draklive | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -653,7 +653,7 @@ EOF require devices; my $loop = devices::find_free_loop(); - run_('losetup', '-o', $part_start * $sector_size, '-s', $part_nb_sectors * $sector_size, $loop, $dest) + run_('losetup', '--offset', $part_start * $sector_size, '--sizelimit', $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"; |