summaryrefslogtreecommitdiffstats
path: root/perl-install/fsedit.pm
diff options
context:
space:
mode:
authorAdam Lebsack <adam@mandriva.com>2000-05-27 23:40:06 +0000
committerAdam Lebsack <adam@mandriva.com>2000-05-27 23:40:06 +0000
commit9bf03d1088adcd4187b418af6dad4429a91f7e2f (patch)
treebbe54dbc52f3f79fb87dbd5039802d995035ea3f /perl-install/fsedit.pm
parent23912a3c7bfcd56adf598eaee1c29315ccae4780 (diff)
downloaddrakx-9bf03d1088adcd4187b418af6dad4429a91f7e2f.tar
drakx-9bf03d1088adcd4187b418af6dad4429a91f7e2f.tar.gz
drakx-9bf03d1088adcd4187b418af6dad4429a91f7e2f.tar.bz2
drakx-9bf03d1088adcd4187b418af6dad4429a91f7e2f.tar.xz
drakx-9bf03d1088adcd4187b418af6dad4429a91f7e2f.zip
see Changelog
Diffstat (limited to 'perl-install/fsedit.pm')
-rw-r--r--perl-install/fsedit.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/fsedit.pm b/perl-install/fsedit.pm
index 30b605927..020a6f57c 100644
--- a/perl-install/fsedit.pm
+++ b/perl-install/fsedit.pm
@@ -107,7 +107,7 @@ sub get_fstab(@) {
#- get normal partition that should be visible for working on.
sub get_visible_fstab(@) {
- grep { $_ && !partition_table::isWholedisk($_) } map { partition_table::get_normal_parts($_) } @_;
+ grep { $_ && !partition_table::isWholedisk($_) && !partition_table::isHiddenMacPart($_) } map { partition_table::get_normal_parts($_) } @_;
}
sub free_space(@) {
@@ -438,7 +438,7 @@ sub verifyHds {
}
my @parts = readProcPartitions($hds);
- $ok &&= @parts == listlength(get_fstab(@$hds));
+ $ok &&= @parts == listlength(get_fstab(@$hds)) unless arch() eq "ppc";
if ($readonly && !$ok) {
log::l("using /proc/partitions as diskdrake failed :(");