diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2008-03-05 15:48:10 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2008-03-05 15:48:10 +0000 |
commit | 524333b049d44b0369062ddf7566873b92bf9128 (patch) | |
tree | a2c2098e3e29576f677f1b7579fb924fcadd95b6 /rescue/partimage_whole_disk | |
parent | 975a721c5c91fdc06e459fb84642241c103b50c8 (diff) | |
download | drakx-524333b049d44b0369062ddf7566873b92bf9128.tar drakx-524333b049d44b0369062ddf7566873b92bf9128.tar.gz drakx-524333b049d44b0369062ddf7566873b92bf9128.tar.bz2 drakx-524333b049d44b0369062ddf7566873b92bf9128.tar.xz drakx-524333b049d44b0369062ddf7566873b92bf9128.zip |
- handle ntfs-3g in fstab
Diffstat (limited to 'rescue/partimage_whole_disk')
-rwxr-xr-x | rescue/partimage_whole_disk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rescue/partimage_whole_disk b/rescue/partimage_whole_disk index 6d10ffdd7..5e8a6f915 100755 --- a/rescue/partimage_whole_disk +++ b/rescue/partimage_whole_disk @@ -66,7 +66,7 @@ sub save_all { my $part_list = [ partition_table::get_normal_parts($hd) ]; foreach (@$part_list) { - $_->{saved} = !member($_->{fs_type}, 'ntfs', 'vfat', 'swap'); + $_->{saved} = !member($_->{fs_type}, 'ntfs', 'ntfs-3g', 'vfat', 'swap'); } if (!$options{save_home_directory}) { @@ -103,7 +103,7 @@ sub rest_all { put_in_hash($_, partition_table::hd2minimal_part($hd)) foreach @$part_list; my ($from_partimage, $other) = partition { $_->{saved} } @$part_list; - my ($from_resize, $created) = partition { member($_->{fs_type}, 'vfat', 'ntfs') } @$other; + my ($from_resize, $created) = partition { member($_->{fs_type}, 'vfat', 'ntfs', 'ntfs-3g') } @$other; my $total = sum(map { $_->{size} } @$part_list); if ($total > $hd->{totalsectors}) { |