From 916494ae24480044d0f10815f2ad63c9260f4348 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Mon, 14 Oct 2024 15:47:03 +0200 Subject: [PATCH] fdisk: (man) improve --sector-size description Signed-off-by: Karel Zak (cherry picked from commit 54f9a79301dcf492cab8e07134f96a921d367aa0) --- disk-utils/fdisk.8.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/disk-utils/fdisk.8.adoc b/disk-utils/fdisk.8.adoc index d7b863f2d..4a1447df4 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. -- 2.47.2