The fdisk code is more ready for 4kB sectors and it makes sense to
support such sectr size for "-b" option.
Address-Red-Hat-Bugzilla: #218915
Signed-off-by: Karel Zak <kzak@redhat.com>
.SH OPTIONS
.TP
.BI "\-b " sectorsize
-Specify the sector size of the disk. Valid values are 512, 1024, or 2048.
+Specify the sector size of the disk. Valid values are 512, 1024, 2048 or 4096.
(Recent kernels know the sector size. Use this only on old kernels or
to override the kernel's ideas.)
.TP
*/
sector_size = atoi(optarg);
if (sector_size != 512 && sector_size != 1024 &&
- sector_size != 2048)
+ sector_size != 2048 && sector_size != 4096)
fatal(usage);
sector_offset = 2;
user_set_sector_size = 1;