From e5d72b7d11355ff2a0f30cf275b08f6d36c167c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrius=20=C5=A0tikonas?= Date: Tue, 17 May 2016 22:02:21 +0100 Subject: [PATCH] Set miinimal capacity for btrfs filesystems back to 256 MiB. mkfs.btrfs can make smaller filesystems but other tools, e.g. btrfs filesystem resize do not work well on small partitions. --- src/fs/btrfs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fs/btrfs.cpp b/src/fs/btrfs.cpp index 71318cc..22c72cc 100644 --- a/src/fs/btrfs.cpp +++ b/src/fs/btrfs.cpp @@ -91,7 +91,7 @@ FileSystem::SupportTool btrfs::supportToolName() const qint64 btrfs::minCapacity() const { - return 100 * Capacity::unitFactor(Capacity::Byte, Capacity::MiB); + return 256 * Capacity::unitFactor(Capacity::Byte, Capacity::MiB); } qint64 btrfs::maxCapacity() const