From 5658f51fcc1609db869582e3ac3c690dd4e06104 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Thu, 28 Jan 2010 23:34:05 +0100 Subject: [PATCH] fdisk: use "optimal I/O size" in warnings Signed-off-by: Karel Zak --- fdisk/fdisk.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/fdisk/fdisk.c b/fdisk/fdisk.c index 6b05bf0e..cc573646 100644 --- a/fdisk/fdisk.c +++ b/fdisk/fdisk.c @@ -779,8 +779,8 @@ warn_alignment(void) { fprintf(stderr, _("\n" "The device presents a logical sector size that is smaller than\n" -"the physical sector size. Aligning to a physical sector boundary\n" -"is recommended, or performance may be impacted.\n\n")); +"the optimal I/O size (often physical sector size). Aligning to a optimal\n" +"I/O size boundary is recommended, or performance may be impacted.\n\n")); /* * Print warning when sector_offset is not aligned for DOS mode @@ -1812,7 +1812,7 @@ static void check_alignment(struct partition *p, int partition) { if (!lba_is_aligned(get_start_sect(p))) - printf(_("Partition %i does not start on physical block boundary.\n"), + printf(_("Partition %i does not start on optimal I/O size boundary.\n"), partition + 1); } @@ -1839,7 +1839,7 @@ list_disk_geometry(void) { str_units(PLURAL), units_per_sector, sector_size, units_per_sector * sector_size); - printf(_("Sector size (logical/physical): %u bytes / %lu bytes\n"), + printf(_("Sector size (logical / optimal IO): %u bytes / %lu bytes\n"), sector_size, io_size); if (alignment_offset) printf(_("Alignment offset: %lu bytes\n"), alignment_offset); -- 2.39.5