Ping. checking for feedback on this patch, thanks.
This patch fixed an off-by-one bug found for GPT. Because the ending LBA is
inclusive,
the partition size should be ((ending_lba + 1) - starting-LBA).
This is confirmed against the results from the parted tool.
(e.g. use parted /dev/sda -s
Dear Richard Retanubun,
In message 494286ed.2070...@ruggedcom.com you wrote:
From b24eaf52ade5e5f1e94243f727d4c0f6d0fccdf5 Mon Sep 17 00:00:00 2001
From: Richard Retanubun richardretanu...@ruggedcom.com
Date: Fri, 12 Dec 2008 10:23:45 -0500
Subject: [PATCH] The ending LBA is inclusive. Hence,
This patch fixed an off-by-one bug found for GPT. Because the ending LBA is
inclusive,
the partition size should be ((ending_lba + 1) - starting-LBA).
This is confirmed against the results from the parted tool.
(e.g. use parted /dev/sda -s unit S print) and observe the size.
Signed-off-by:
From b24eaf52ade5e5f1e94243f727d4c0f6d0fccdf5 Mon Sep 17 00:00:00 2001
From: Richard Retanubun richardretanu...@ruggedcom.com
Date: Fri, 12 Dec 2008 10:23:45 -0500
Subject: [PATCH] The ending LBA is inclusive. Hence, the partition size should
be
((ending-LBA + 1) - starting-LBA) to get the
4 matches
Mail list logo