]> 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>
Fri, 3 Jan 2025 11:21:42 +0000 (12:21 +0100)
Signed-off-by: Karel Zak <kzak@redhat.com>
(cherry picked from commit 54f9a79301dcf492cab8e07134f96a921d367aa0)

disk-utils/fdisk.8.adoc

index d7b863f2d21f1c4451c8a3ea4d5e7024582f8045..4a1447df4f41da4b708cab4bf9255204259fef22 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.