diff options
author | Olivier Blin <oblin@mandriva.com> | 2008-04-07 09:59:21 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2008-04-07 09:59:21 +0000 |
commit | 710859243ff2e943824f885b2974f808ab30b5a2 (patch) | |
tree | 295d0bf4d5cba097f307dc770ded6c2e06ac1514 | |
parent | 673137859f98ba6ab27d3206f63d12c11ee124a7 (diff) | |
download | draklive-install-710859243ff2e943824f885b2974f808ab30b5a2.tar draklive-install-710859243ff2e943824f885b2974f808ab30b5a2.tar.gz draklive-install-710859243ff2e943824f885b2974f808ab30b5a2.tar.bz2 draklive-install-710859243ff2e943824f885b2974f808ab30b5a2.tar.xz draklive-install-710859243ff2e943824f885b2974f808ab30b5a2.zip |
umount partitions later (because g-v-m might have mounted them in the meantime)
-rwxr-xr-x | draklive-install | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/draklive-install b/draklive-install index dcdbe8b..f2b2ab1 100755 --- a/draklive-install +++ b/draklive-install @@ -145,7 +145,6 @@ sub ask_partitions { fs::any::write_hds($all_hds, $fstab, undef, sub { on_reboot_needed($in) }, {}); fs::any::check_hds_boot_and_root($all_hds, $fstab); fs::partitioning::choose_partitions_to_format($in, $fstab); - umount_all($fstab); my $total = get_total_size($in, $copy_source); my $available = fs::any::getAvailableSpace($fstab, 'skip_mounted'); @@ -153,6 +152,7 @@ sub ask_partitions { formatXiB($available), formatXiB($total)) . "\n" if $total > $available; + umount_all($fstab); fs::partitioning::format_mount_partitions($in, $all_hds, $fstab); } |