15 lines
393 B
Diff
15 lines
393 B
Diff
--- mkdosfs/mkdosfs.c
|
|
+++ mkdosfs/mkdosfs.c
|
|
@@ -1731,6 +1731,11 @@
|
|
}
|
|
}
|
|
|
|
+ if (sector_size > 4096)
|
|
+ fprintf(stderr,
|
|
+ "Warning: sector size is set to %d > 4096, such filesystem will not propably mount\n",
|
|
+ sector_size);
|
|
+
|
|
establish_params (statbuf.st_rdev,statbuf.st_size);
|
|
/* Establish the media parameters */
|
|
|