summaryrefslogtreecommitdiffstats
path: root/perl-install/fs/type.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-06-13 04:52:38 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-06-13 04:52:38 +0000
commit0935fb7e249568209af72cce0094feee6a11036c (patch)
tree817cabc62bc4f3156143b0654b2808898b34fffb /perl-install/fs/type.pm
parentabbd644ab503f66c469be40e0fe0534c680286d3 (diff)
downloaddrakx-backup-do-not-use-0935fb7e249568209af72cce0094feee6a11036c.tar
drakx-backup-do-not-use-0935fb7e249568209af72cce0094feee6a11036c.tar.gz
drakx-backup-do-not-use-0935fb7e249568209af72cce0094feee6a11036c.tar.bz2
drakx-backup-do-not-use-0935fb7e249568209af72cce0094feee6a11036c.tar.xz
drakx-backup-do-not-use-0935fb7e249568209af72cce0094feee6a11036c.zip
fs::auto_fs() is now fs::type::guessed_by_mount() (still not a really nice name...)
Diffstat (limited to 'perl-install/fs/type.pm')
-rw-r--r--perl-install/fs/type.pm4
1 files changed, 4 insertions, 0 deletions
diff --git a/perl-install/fs/type.pm b/perl-install/fs/type.pm
index 1c72f6160..95ece71fa 100644
--- a/perl-install/fs/type.pm
+++ b/perl-install/fs/type.pm
@@ -372,6 +372,10 @@ sub check {
$fs_type eq "reiserfs" && $part->{size} < 32 << 11 and die N("You can not use ReiserFS for partitions smaller than 32MB");
}
+sub guessed_by_mount() {
+ grep { $_ && !/nodev/ } chomp_(cat_('/etc/filesystems'));
+}
+
sub directories_needed_to_boot() {
qw(/ /usr /var /boot /tmp);
}