>4GB device detection; mkfs can make it, but FS can't use it...
This commit is contained in:
parent
35c98cffdc
commit
af9465adbd
1 changed files with 2 additions and 2 deletions
|
@ -324,8 +324,8 @@ char *argv[];
|
||||||
|
|
||||||
#ifdef UNIX
|
#ifdef UNIX
|
||||||
if(ULONG_MAX / block_size <= blocks-1) {
|
if(ULONG_MAX / block_size <= blocks-1) {
|
||||||
fprintf(stderr, "Warning: mkfs not testing device, it's too big.\n");
|
fprintf(stderr, "Device too big for filesystem to currently run on (max 4GB).\n");
|
||||||
donttest = 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!donttest) {
|
if (!donttest) {
|
||||||
|
|
Loading…
Reference in a new issue