[PATCH 2/3] Check for problematic active devices before processing any actions.

Brian C. Lane bcl at redhat.com
Sat May 3 00:19:49 UTC 2014


On Fri, May 02, 2014 at 01:58:44PM -0500, David Lehman wrote:
> If there are active devices using partitions on disks we plan to change
> we are going to encounter failures to commit those changes to the disk/OS.
> ---
>  blivet/devicetree.py | 43 +++++++++++++++++++++++++++++++++++++------
>  1 file changed, 37 insertions(+), 6 deletions(-)
> 

This will cause problems for people who do a hd install where the source
is mounted and they are installing to another part of the disk.

Parted will allow changes to the disk, as long as the changes are not to
active partitions.

Unless I'm misreading the patch, the last couple of loops there are hard
for me to follow.

-- 
Brian C. Lane | Anaconda Team | IRC: bcl #anaconda | Port Orchard, WA (PST8PDT)


More information about the anaconda-patches mailing list