From 53392050357d0292e41019414651b63ddc341660 Mon Sep 17 00:00:00 2001
From: Robert Pengelly <robertapengelly@hotmail.com>
Date: Sat, 22 Mar 2025 12:13:08 +0000
Subject: [PATCH] Updated explaination

---
 parted.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/parted.c b/parted.c
index a369b38..7c32f18 100644
--- a/parted.c
+++ b/parted.c
@@ -156,12 +156,12 @@ static void calculate_geometry (void) {
 #else
         
         /**
-         * Ideally we'd have a new size of 41,954,304 for the image as Pcem and
-         * 86box reports 81940 sectors and times by 512 equals 41,953,280 add 512
-         * bytes for the mbr and 512 for the VHD footer however qemu seems to report
-         * different disk geometry compared to PCem and 86box resuling to 81900
-         * sectors being reported instead so we need to make the image way bigger
-         * than it needs to be to accommodate qemu.
+         * Ideally we'd have a new size of 41,954,304 (for a 40 MB partition) for the
+         * image as Pcem and 86box reports 81940 sectors and times by 512 equals
+         * 41,953,280 add 512 bytes for the mbr and 512 for the VHD footer however
+         * qemu seems to report different disk geometry compared to PCem and 86box
+         * resuling to 81900 sectors being reported instead so we need to make the
+         * image way bigger than it needs to be to accommodate qemu.
          */
         state->image_size = (cylinders * heads_per_cylinder) * sectors_per_track;
         
-- 
2.34.1