>4GB device detection; mkfs can make it, but FS can't use it...
This commit is contained in:
parent
35c98cffdc
commit
af9465adbd
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue