Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow adding new partitions to disks with active devices (#1212841)
Parted doesn't allow changing disklabel when there is an active partition on the disk. Current implementation of findActiveDevicesOnActionDisks doesn't allow adding new partitions when there is an existing active (child) device other than another partition (eg. VG). New version checks only actions that actually changes the disklabel and checks status of formats of (child) devices on the disk with changes. Signed-off-by: Vojtech Trefny <vtrefny@redhat.com>
- Loading branch information
b72e957
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
has fewer redundant parts and seems a bit clearer.