summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorThomas Backlund <tmb@mageia.org>2015-01-08 21:12:19 +0159
committerThomas Backlund <tmb@mageia.org>2015-01-08 21:12:19 +0159
commitd7542027aca562d1ab2521eea0b872fb9330fe34 (patch)
treec9e9b80e6ef8a21a2a6c6340268258280ad6c1fb /perl-install
parent10f49c1ed61eb3d688f30c34cc5a321904f2971b (diff)
downloaddrakx-d7542027aca562d1ab2521eea0b872fb9330fe34.tar
drakx-d7542027aca562d1ab2521eea0b872fb9330fe34.tar.gz
drakx-d7542027aca562d1ab2521eea0b872fb9330fe34.tar.bz2
drakx-d7542027aca562d1ab2521eea0b872fb9330fe34.tar.xz
drakx-d7542027aca562d1ab2521eea0b872fb9330fe34.zip
btrfs needs atleast 256MB partition
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/fs/type.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/fs/type.pm b/perl-install/fs/type.pm
index 81673b01f..55592d6f1 100644
--- a/perl-install/fs/type.pm
+++ b/perl-install/fs/type.pm
@@ -369,6 +369,7 @@ sub check {
my ($fs_type, $_hd, $part) = @_;
$fs_type eq "jfs" && $part->{size} < MB(16) and die N("You cannot use JFS for partitions smaller than 16MB");
$fs_type eq "reiserfs" && $part->{size} < MB(32) and die N("You cannot use ReiserFS for partitions smaller than 32MB");
+ $fs_type eq "btrfs" && $part->{size} < MB(256) and die N("You cannot use btrfs for partitions smaller than 256MB");
}
sub guessed_by_mount() {