Disable copying LVM LVs. It does not yet work.
This commit is contained in:
parent
ee49c05d60
commit
f9d9d8912b
|
@ -287,6 +287,10 @@ bool CopyOperation::canCopy(const Partition* p)
|
||||||
if (p->isMounted())
|
if (p->isMounted())
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
// FIXME: Does not work well enough yet
|
||||||
|
if (p->roles().has(PartitionRole::Lvm_Lv))
|
||||||
|
return false;
|
||||||
|
|
||||||
// Normally, copying partitions that have not been written to disk yet should
|
// Normally, copying partitions that have not been written to disk yet should
|
||||||
// be forbidden here. The operation stack, however, will take care of these
|
// be forbidden here. The operation stack, however, will take care of these
|
||||||
// problematic cases when pushing the CopyOperation onto the stack.
|
// problematic cases when pushing the CopyOperation onto the stack.
|
||||||
|
|
Loading…
Reference in New Issue