* deleting an extended partition with cfdisk leaves its contained partitions in existence
@ 2015-01-30 21:34 Benno Schulenberg
2015-02-02 9:45 ` Karel Zak
0 siblings, 1 reply; 2+ messages in thread
From: Benno Schulenberg @ 2015-01-30 21:34 UTC (permalink / raw)
To: Util-Linux
On my disk, /dev/sda4 is an extended partition that contains four
partitions. If I use cfdisk and delete /dev/sda4, the contained
four partitions also seem to have been deleted. But after an
extended partition sda4 has been recreated, trying to create a
new partition in its free space results in a red message on the
bottombar: "Partition 5 is already defined. Delete it before
re-adding it." But there is no way to delete partition 5 other
than restarting cfdisk.
Deleting an extended partition should either delete also all the
partitions it contains, or it should refuse the deletion before all
the contained partitions have been deleted. Probably the first
option is the most user-friendly.
Benno
--
http://www.fastmail.com - A no graphics, no pop-ups email service
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: deleting an extended partition with cfdisk leaves its contained partitions in existence
2015-01-30 21:34 deleting an extended partition with cfdisk leaves its contained partitions in existence Benno Schulenberg
@ 2015-02-02 9:45 ` Karel Zak
0 siblings, 0 replies; 2+ messages in thread
From: Karel Zak @ 2015-02-02 9:45 UTC (permalink / raw)
To: Benno Schulenberg; +Cc: Util-Linux
On Fri, Jan 30, 2015 at 10:34:20PM +0100, Benno Schulenberg wrote:
> Deleting an extended partition should either delete also all the
> partitions it contains, or it should refuse the deletion before all
> the contained partitions have been deleted. Probably the first
> option is the most user-friendly.
Fixed, now it deletes also logical partitions.
Karel
--
Karel Zak <kzak@redhat.com>
http://karelzak.blogspot.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-02-02 9:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-30 21:34 deleting an extended partition with cfdisk leaves its contained partitions in existence Benno Schulenberg
2015-02-02 9:45 ` Karel Zak
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).