summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorPhillip Susi <psusi@ubuntu.com>2012-01-12 14:53:56 -0500
committerPhillip Susi <psusi@ubuntu.com>2013-11-23 16:43:43 -0500
commitf503870153eda7659b09e52e4adeda3bebf06471 (patch)
tree5308ba834e07bba684b27f78acff99d9e7c97f59 /NEWS
parent62a27ccbdaa29a825a593c9562a5cf55ff9e8db4 (diff)
downloadparted-f503870153eda7659b09e52e4adeda3bebf06471.tar.gz
libparted: handle logical partitions starting immediately after the EBR
_blkpg_add_partition() set the length of the extended partition to 2 sectors to allow LILO to be installed there, beacuse the linux kernel does this. If a logical partition used that second sector, adding it would fail beacuse of the overlap. Now _blkpg_add_partition() will limit the length to only the first sector if the second is used by a logical partition. Previously parted did create the partition table, and after a reboot, the kernel would recognize the table, and happily create the extended partition as 2 sectors long, thus overlapping the logical partition, but when parted tried to recreate the same table with BLKPG, the kernel rightly rejected it.
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS8
1 files changed, 8 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index a27200b..716e477 100644
--- a/NEWS
+++ b/NEWS
@@ -4,6 +4,14 @@ GNU parted NEWS -*- outline -*-
** Bug Fixes
+ libparted: handle logical partitions starting immediately after
+ the EBR. Creating a logical partition one sector after the EBR
+ used to cause parted to complain that it could not inform the
+ kernel of the changes, but after a reboot, everything was fine.
+ Parted will now correctly inform the kernel of the changes, but
+ only set the length of the extended partition to 1 sector instead
+ of two, which would cause it to overlap the logical partition.
+
parted: fix EOF and ctrl-c handling. parted used to refuse to exit
in response to ctrl-c and would get stuck in an infinite loop
prompting for more input when it reached EOF on stdin.