[parted-devel] [PATCH] libparted: remove device mapper node for last partition

Jim Meyering jim at meyering.net
Wed Aug 8 15:23:52 UTC 2012


Phillip Susi wrote:
> On 7/25/2012 10:29 AM, Petr Uzel wrote:
>> This patch fixes the situation when last partition is removed on
>> device-mapper. In such case, ped_disk_get_last_partition_num()
>> returns 0 (the last partition is already gone), so
>> _dm_remove_parts() is not called at all and device-mapper node for
>> the last partition is not removed.
>
> The patch refactoring this area of code I submitted earlier this year
> renders this patch obsolete.  I'm not sure why I still have not heard
> anything about that patch, as I have poked the mailing list about it
> twice now.

Sorry about the delay.
I see that the most recent patch had a misleading comment for
which you proposed wording to correct it, but no amended patch.
Would you please resend a complete, corrected patch?



More information about the parted-devel mailing list