]> Zhao Yanbai Git Server - minix.git/commitdiff
>4GB device detection; mkfs can make it, but FS can't use it...
authorBen Gras <ben@minix3.org>
Mon, 4 Jul 2005 09:20:03 +0000 (09:20 +0000)
committerBen Gras <ben@minix3.org>
Mon, 4 Jul 2005 09:20:03 +0000 (09:20 +0000)
commands/simple/mkfs.c

index 0a8107a67e356c85984d3ac4eb580830d86209bb..b7c76c27944bba6d0ec13cce5c652f9ebb53b543 100755 (executable)
@@ -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) {