From: Karel Zak Date: Mon, 14 Oct 2024 13:47:03 +0000 (+0200) Subject: fdisk: (man) improve --sector-size description X-Git-Tag: v2.42-start~179 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=54f9a79301dcf492cab8e07134f96a921d367aa0;p=thirdparty%2Futil-linux.git fdisk: (man) improve --sector-size description Signed-off-by: Karel Zak --- diff --git a/disk-utils/fdisk.8.adoc b/disk-utils/fdisk.8.adoc index cb72b4a3e..5941aa349 100644 --- a/disk-utils/fdisk.8.adoc +++ b/disk-utils/fdisk.8.adoc @@ -40,7 +40,7 @@ Note that *partx*(8) provides a rich interface for scripts to print disk layouts == OPTIONS *-b*, *--sector-size* _sectorsize_:: -Specify the sector size of the disk. Valid values are 512, 1024, 2048, and 4096. (Recent kernels know the sector size. Use this option only on old kernels or to override the kernel's ideas.) Since util-linux-2.17, *fdisk* differentiates between logical and physical sector size. This option changes both sector sizes to _sectorsize_. +Specify the sector size of the disk. Valid values are 512, 1024, 2048, and 4096. The kernel is aware of the sector size for regular block devices. Use this option only on very old kernels, when working with disk images, or to override the kernel's default sector size. Since util-linux-2.17, *fdisk* distinguishes between logical and physical sector size. This option changes both sector sizes to the specified _sectorsize_. *-B*, *--protect-boot*:: Don't erase the beginning of the first disk sector when creating a new disk label. This feature is supported for GPT and MBR.