diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2001-08-19 21:29:01 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2001-08-19 21:29:01 +0000 |
commit | 36d3a4fe804fb661f494d60a6969853c335b34f5 (patch) | |
tree | 65edc075f6fd40b6b41cbd532f23f388e37c5c3d /perl-install/fsedit.pm | |
parent | 94f942f169827a79ef3a2345bc41955e56c70e11 (diff) | |
download | drakx-36d3a4fe804fb661f494d60a6969853c335b34f5.tar drakx-36d3a4fe804fb661f494d60a6969853c335b34f5.tar.gz drakx-36d3a4fe804fb661f494d60a6969853c335b34f5.tar.bz2 drakx-36d3a4fe804fb661f494d60a6969853c335b34f5.tar.xz drakx-36d3a4fe804fb661f494d60a6969853c335b34f5.zip |
major fs.pm rework + adaptation to it
Diffstat (limited to 'perl-install/fsedit.pm')
-rw-r--r-- | perl-install/fsedit.pm | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/perl-install/fsedit.pm b/perl-install/fsedit.pm index 7e1487575..1324dc325 100644 --- a/perl-install/fsedit.pm +++ b/perl-install/fsedit.pm @@ -269,6 +269,12 @@ sub get_all_fstab { my @raids = grep {$_} @{$all_hds->{raids}}; @parts, @raids, @{$all_hds->{loopbacks}}; } +sub get_really_all_fstab { + my ($all_hds) = @_; + my @parts = map { partition_table::get_normal_parts($_) } all_hds($all_hds); + my @raids = grep {$_} @{$all_hds->{raids}}; + @parts, @raids, @{$all_hds->{loopbacks}}, @{$all_hds->{raw_hds}}, @{$all_hds->{nfss}}, @{$all_hds->{smb}}; +} sub get_all_fstab_and_holes { my ($all_hds) = @_; my @raids = grep {$_} @{$all_hds->{raids}}; @@ -413,7 +419,7 @@ sub mntpoint2part { } sub has_mntpoint { my ($mntpoint, $all_hds) = @_; - mntpoint2part($mntpoint, [ get_all_fstab($all_hds) ]); + mntpoint2part($mntpoint, [ get_really_all_fstab($all_hds) ]); } sub get_root_ { my ($fstab, $boot) = @_; |