On 3/18/2010 12:09 PM, Hans de Goede wrote:
> That would end up with the same result as we have now, the commit() would
> fail as the BLKRRPART would fail on the in use partitions.
> 
> So by taking out the BLKRRPART we have the same end result with
> significantly
> less code.

No, it wouldn't.  BLKRRPART fails if ANY partition on the disk is in
use.  The BLKPG ioctls allow you to add a new partition whenever you
like, and remove a partition as long as that specific partition is not
in use.

_______________________________________________
parted-devel mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/parted-devel

Reply via email to