diff options
author | Jan Engelhardt <jengelh@medozas.de> | 2009-01-21 13:22:49 -0500 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2009-01-21 13:22:49 -0500 |
commit | 16b04fb5f55f1141afcec9b1f3929cf5125d9683 (patch) | |
tree | 3855b7ab4c4a4e7c4bc7a750825ad49dda7a7d65 | |
parent | 20da00318d20904a275b0baa44ea430555bc8e91 (diff) | |
download | btrfs-progs-16b04fb5f55f1141afcec9b1f3929cf5125d9683.tar.gz |
Mention minimum size on devices that are considered too small
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
-rw-r--r-- | utils.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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); |