diff options
author | Thomas Backlund <tmb@mageia.org> | 2015-01-08 21:12:19 +0159 |
---|---|---|
committer | Thomas Backlund <tmb@mageia.org> | 2015-01-08 21:12:19 +0159 |
commit | d7542027aca562d1ab2521eea0b872fb9330fe34 (patch) | |
tree | c9e9b80e6ef8a21a2a6c6340268258280ad6c1fb /perl-install/fs | |
parent | 10f49c1ed61eb3d688f30c34cc5a321904f2971b (diff) | |
download | drakx-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/fs')
-rw-r--r-- | perl-install/fs/type.pm | 1 |
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() { |