diff options
author | Olivier Blin <oblin@mandriva.com> | 2008-04-06 20:07:55 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2008-04-06 20:07:55 +0000 |
commit | 70eb517f94c76c907ef7d1981a811b181269b772 (patch) | |
tree | 369f0053f3aefaf30f64a21fbb0b7a29a94fa07a /perl-install | |
parent | c88a7900ae74f9786fd38d9e909650dda0b13321 (diff) | |
download | drakx-70eb517f94c76c907ef7d1981a811b181269b772.tar drakx-70eb517f94c76c907ef7d1981a811b181269b772.tar.gz drakx-70eb517f94c76c907ef7d1981a811b181269b772.tar.bz2 drakx-70eb517f94c76c907ef7d1981a811b181269b772.tar.xz drakx-70eb517f94c76c907ef7d1981a811b181269b772.zip |
only add formatted partitions in fstab (or else it will make subsequent boot fail)
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/NEWS | 4 | ||||
-rwxr-xr-x | perl-install/standalone/drakupdate_fstab | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS index 1d1bafd53..a1cb6c5ef 100644 --- a/perl-install/NEWS +++ b/perl-install/NEWS @@ -1,3 +1,7 @@ +- drakupdate_fstab: + o only add formatted partitions in fstab (or else it will make + subsequent boot fail) + Version 10.29 - 3 April 2008 - service_harddrake: diff --git a/perl-install/standalone/drakupdate_fstab b/perl-install/standalone/drakupdate_fstab index 051c706d6..05498a4ae 100755 --- a/perl-install/standalone/drakupdate_fstab +++ b/perl-install/standalone/drakupdate_fstab @@ -108,7 +108,7 @@ sub main { my $all_hds = fsedit::get_hds(); my $hd = find { fs::get::is_same_hd($_, $device) } fs::get::hds($all_hds); $hd or die "unable to find hd for $device->{device}"; - my @parts = grep { !fsedit::isSwap($_) } partition_table::get_normal_parts($hd); + my @parts = grep { !fsedit::isSwap($_) && fs::type::maybeFormatted($_) } partition_table::get_normal_parts($hd); configure_part($action, $_, 'hd') foreach @parts; } else { configure_part($action, $device, undef); |