summaryrefslogtreecommitdiffstats
path: root/perl-install/fsedit.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-01-30 22:54:49 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-01-30 22:54:49 +0000
commit4f85b0d92b9246709a53a85b45b15f73c7d97086 (patch)
tree0f62ec68e69cd1619f59fe77a5b572cd3805e7ec /perl-install/fsedit.pm
parentc9ae469b014987aab6c76225859028ecffb77659 (diff)
downloaddrakx-4f85b0d92b9246709a53a85b45b15f73c7d97086.tar
drakx-4f85b0d92b9246709a53a85b45b15f73c7d97086.tar.gz
drakx-4f85b0d92b9246709a53a85b45b15f73c7d97086.tar.bz2
drakx-4f85b0d92b9246709a53a85b45b15f73c7d97086.tar.xz
drakx-4f85b0d92b9246709a53a85b45b15f73c7d97086.zip
add isFat_or_NTFS() and use it where possible instead of isFat() since Windows
is now using ntfs, not only Windows NT
Diffstat (limited to 'perl-install/fsedit.pm')
-rw-r--r--perl-install/fsedit.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/fsedit.pm b/perl-install/fsedit.pm
index ae8ce61f1..62196cd34 100644
--- a/perl-install/fsedit.pm
+++ b/perl-install/fsedit.pm
@@ -386,12 +386,12 @@ sub free_space {
sum map { $_->{size} } get_holes(@_);
}
-sub is_one_big_fat {
+sub is_one_big_fat_or_NT {
my ($hds) = @_;
@$hds == 1 or return;
my @l = get_fstab(@$hds);
- @l == 1 && isFat($l[0]) && free_space(@$hds) < 10 << 11;
+ @l == 1 && isFat_or_NTFS($l[0]) && free_space(@$hds) < 10 << 11;
}
sub file2part {