From 9587b03ae53129108677bf3da11a1f35613c028c Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Thu, 10 Nov 2005 13:48:43 +0000 Subject: new option (bzip2), enabled by default --- rescue/partimage_whole_disk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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}"); } -- cgit v1.2.1