From af9465adbd1d8dc9f2efe0b6f4f27309692e9ed4 Mon Sep 17 00:00:00 2001 From: Ben Gras Date: Mon, 4 Jul 2005 09:20:03 +0000 Subject: [PATCH] >4GB device detection; mkfs can make it, but FS can't use it... --- commands/simple/mkfs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/simple/mkfs.c b/commands/simple/mkfs.c index 0a8107a67..b7c76c279 100755 --- a/commands/simple/mkfs.c +++ b/commands/simple/mkfs.c @@ -324,8 +324,8 @@ char *argv[]; #ifdef UNIX if(ULONG_MAX / block_size <= blocks-1) { - fprintf(stderr, "Warning: mkfs not testing device, it's too big.\n"); - donttest = 1; + fprintf(stderr, "Device too big for filesystem to currently run on (max 4GB).\n"); + return 1; } if (!donttest) { -- 2.44.0