diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2005-11-10 13:48:43 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2005-11-10 13:48:43 +0000 |
commit | 9587b03ae53129108677bf3da11a1f35613c028c (patch) | |
tree | e00878e7ccdb191e6afe9e688c2842ef5d768fc0 /rescue/partimage_whole_disk | |
parent | 11e0c06ef8c3a1283e3d6cc5023284c21a5c3d35 (diff) | |
download | drakx-9587b03ae53129108677bf3da11a1f35613c028c.tar drakx-9587b03ae53129108677bf3da11a1f35613c028c.tar.gz drakx-9587b03ae53129108677bf3da11a1f35613c028c.tar.bz2 drakx-9587b03ae53129108677bf3da11a1f35613c028c.tar.xz drakx-9587b03ae53129108677bf3da11a1f35613c028c.zip |
new option (bzip2), enabled by default
Diffstat (limited to 'rescue/partimage_whole_disk')
-rwxr-xr-x | rescue/partimage_whole_disk | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/rescue/partimage_whole_disk b/rescue/partimage_whole_disk index c332df838..15878505e 100755 --- a/rescue/partimage_whole_disk +++ b/rescue/partimage_whole_disk @@ -18,7 +18,8 @@ BEGIN { partition_table::raw::default_type() } my %options = ( save_home_directory => 1, empty_space_at_end_of_disk => 0, # 300 * 1024 * 2, # 300MB - ask_before_modifying_home => 0, + ask_before_modifying_home => 1, + bzip2 => 1, ); my ($server); @@ -73,6 +74,7 @@ sub save_all { foreach (grep { $_->{saved} } @$part_list) { run_or_die(@partimage_cmd, + if_($options{bzip2}, '-z', 2), '-V', 0, '--nombr', '--nodesc', '--nocheck', '-b', '-o', 'save', devices::make($_->{device}), "$dir/$_->{device}"); } |