summaryrefslogtreecommitdiffstats
path: root/perl-install/partition_table.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>1999-08-24 20:00:24 +0000
committerPascal Rigaux <pixel@mandriva.com>1999-08-24 20:00:24 +0000
commit9062c92ba51a7170424f825c60e5ff5ec46c85dd (patch)
tree87d6ac3e24fa81ba65847ce0bff69894ab5ceacc /perl-install/partition_table.pm
parent10b649b6503f47388f1548c8ba9391dd6ce0284e (diff)
downloaddrakx-9062c92ba51a7170424f825c60e5ff5ec46c85dd.tar
drakx-9062c92ba51a7170424f825c60e5ff5ec46c85dd.tar.gz
drakx-9062c92ba51a7170424f825c60e5ff5ec46c85dd.tar.bz2
drakx-9062c92ba51a7170424f825c60e5ff5ec46c85dd.tar.xz
drakx-9062c92ba51a7170424f825c60e5ff5ec46c85dd.zip
no_comment
Diffstat (limited to 'perl-install/partition_table.pm')
-rw-r--r--perl-install/partition_table.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/partition_table.pm b/perl-install/partition_table.pm
index 5ef63bc65..5d7cbd890 100644
--- a/perl-install/partition_table.pm
+++ b/perl-install/partition_table.pm
@@ -83,6 +83,7 @@ my %fs2type = reverse %type2fs;
1;
sub important_types { $_[0] and return sort values %types; @important_types }
+
sub type2name($) { $types{$_[0]} || 'unknown' }
sub type2fs($) { $type2fs{$_[0]} }
sub name2type($) { $types_rev{$_[0]} }