Mention minimum size on devices that are considered too small

Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
master
Jan Engelhardt 2009-01-21 13:22:49 -05:00 committed by Chris Mason
parent 20da00318d
commit 16b04fb5f5
1 changed files with 2 additions and 1 deletions

View File

@ -531,7 +531,8 @@ int btrfs_prepare_device(int fd, char *file, int zero_end, u64 *block_count_ret)
zero_end = 1;
if (block_count < 256 * 1024 * 1024) {
fprintf(stderr, "device %s is too small\n", file);
fprintf(stderr, "device %s is too small "
"(must be at least 256 MB)\n", file);
exit(1);
}
ret = zero_dev_start(fd);