File dosfstools-2.11-unsupported-sector-size.patch of Package dosfstools

--- 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 */
 
openSUSE Build Service is sponsored by