https://bugs.kde.org/show_bug.cgi?id=423917

--- Comment #1 from Andrius Štikonas <andr...@stikonas.eu> ---
It is known that it doesn't check. Well, actually there is one check before
deleting partition but not before other operations:

https://invent.kde.org/system/kpmcore/-/blob/master/src/ops/deleteoperation.cpp#L120

Note that other checks would be more complicated, resizing mounted partitions
is often allowed or even required (you can't resize unmounted btrfs, for
example if it is unmounted partition manager creates a temporary mount point,
resizes and unmounts), so it would be a bit trickier although not impossible to
insert similar check for resizing.

It's a bit hard to tell where we should draw the line. Partition Manager
assumes that you do not change partitions under its feet after scanning (and
GParted behaves exactly the same). And mounting is just one of the many ways
you can modify partition.

So I'm not fully convinced about this yet...

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to