]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
fdisk: (man) improve --sector-size description
authorKarel Zak <kzak@redhat.com>
Mon, 14 Oct 2024 13:47:03 +0000 (15:47 +0200)
committerKarel Zak <kzak@redhat.com>
Mon, 14 Oct 2024 13:47:03 +0000 (15:47 +0200)
Signed-off-by: Karel Zak <kzak@redhat.com>
disk-utils/fdisk.8.adoc

index cb72b4a3ea57e4a3a0299756ba195290377c06fd..5941aa3496877eb2930a4eab46cab67ba0fc6f6c 100644 (file)
@@ -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.