diff options
author | Pascal Rigaux <pixel@mandriva.com> | 1999-09-20 12:36:37 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 1999-09-20 12:36:37 +0000 |
commit | 56c1b0d4fe9f5a9908827a51b22fa53dd0265bbd (patch) | |
tree | eb38202994e13fa1b45ad115db0d73ac7aaec88f /perl-install/fsedit.pm | |
parent | 70c400f9a433cb7139c3c30e3cd8aaf350613483 (diff) | |
download | drakx-56c1b0d4fe9f5a9908827a51b22fa53dd0265bbd.tar drakx-56c1b0d4fe9f5a9908827a51b22fa53dd0265bbd.tar.gz drakx-56c1b0d4fe9f5a9908827a51b22fa53dd0265bbd.tar.bz2 drakx-56c1b0d4fe9f5a9908827a51b22fa53dd0265bbd.tar.xz drakx-56c1b0d4fe9f5a9908827a51b22fa53dd0265bbd.zip |
no_comment
Diffstat (limited to 'perl-install/fsedit.pm')
-rw-r--r-- | perl-install/fsedit.pm | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/perl-install/fsedit.pm b/perl-install/fsedit.pm index bf7574f5e..8aa73fc2e 100644 --- a/perl-install/fsedit.pm +++ b/perl-install/fsedit.pm @@ -67,6 +67,13 @@ sub get_fstab(@) { map { partition_table::get_normal_parts($_) } @_; } +sub get_root($) { + my ($fstab) = @_; + $_->{mntpoint} eq "/" and return $_ foreach @$fstab; + undef; +} +sub get_root_ { get_root([ get_fstab(@{$_[0]}) ]) } + sub suggest_part($$$;$) { my ($hd, $part, $hds, $suggestions) = @_; $suggestions ||= \@suggestions; |