From: Ben Gras Date: Mon, 4 Jul 2005 09:20:03 +0000 (+0000) Subject: >4GB device detection; mkfs can make it, but FS can't use it... X-Git-Tag: v3.1.0~651 X-Git-Url: http://zhaoyanbai.com/repos/doc/tz-art.htm?a=commitdiff_plain;h=af9465adbd1d8dc9f2efe0b6f4f27309692e9ed4;p=minix.git >4GB device detection; mkfs can make it, but FS can't use it... --- 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) {