diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2003-02-27 19:16:21 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2003-02-27 19:16:21 +0000 |
commit | d23d3f83976f6cf5678f270009488e09c4b8c51c (patch) | |
tree | 210fc14b0816b0ec6061590d327437de80047ac8 /perl-install/install_any.pm | |
parent | 7cbd70aa1989af49648687e0724092fe58f135b1 (diff) | |
download | drakx-d23d3f83976f6cf5678f270009488e09c4b8c51c.tar drakx-d23d3f83976f6cf5678f270009488e09c4b8c51c.tar.gz drakx-d23d3f83976f6cf5678f270009488e09c4b8c51c.tar.bz2 drakx-d23d3f83976f6cf5678f270009488e09c4b8c51c.tar.xz drakx-d23d3f83976f6cf5678f270009488e09c4b8c51c.zip |
- add get_info_from_fstab()
- use it when reading existing fstab (to get for example devfs mount)
Diffstat (limited to 'perl-install/install_any.pm')
-rw-r--r-- | perl-install/install_any.pm | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm index b29cf48b5..cdfb7e19b 100644 --- a/perl-install/install_any.pm +++ b/perl-install/install_any.pm @@ -980,12 +980,11 @@ sub find_root_parts { } sub use_root_part { my ($all_hds, $part, $prefix) = @_; - my $fstab = [ fsedit::get_really_all_fstab($all_hds) ]; { my $handle = any::inspect($part, $prefix) or die; - fs::merge_info_from_fstab($fstab, $handle->{dir}, 'uniq'); + fs::get_info_from_fstab($all_hds, $handle->{dir}, 'uniq'); } - map { $_->{mntpoint} = 'swap' } grep { isSwap($_) } @$fstab; #- use all available swap. + map { $_->{mntpoint} = 'swap' } grep { isSwap($_) } fsedit::get_really_all_fstab($all_hds); #- use all available swap. } sub getHds { |