Applying Suses dosfstools-2.11-unsupported-sector-size.patch from Petr
Gajdos <pgajdos@suse.cz> to add sector size warning:
* added warning for creation msdos on filesystem with sector size
greater than 4096 [fate#303325]
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
This commit is contained in:
parent
f74695618b
commit
a6dc6a4d4b
@ -1732,6 +1732,11 @@ main (int argc, char **argv)
|
||||
}
|
||||
}
|
||||
|
||||
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 */
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user