Members of the KDE Community are recommended to subscribe to the kde-community mailing list at to allow them to participate in important discussions and receive other important announcements

Allow moving partitions of unknown type.

This usually be safe. There is a theoretical chance that some
unknown OS fails to boot, but I'm not aware of any such cases.

BUG: 404398
parent 39a5645c
......@@ -19,6 +19,9 @@
namespace FS
FileSystem::CommandSupportType unknown::m_Move = FileSystem::cmdSupportNone;
unknown::unknown(qint64 firstsector, qint64 lastsector, qint64 sectorsused, const QString& label) :
FileSystem(firstsector, lastsector, sectorsused, label, FileSystem::Type::Unknown)
......@@ -15,8 +15,7 @@
* along with this program. If not, see <>.*
#if !defined(KPMCORE_UNKNOWN_H)
#include "util/libpartitionmanagerexport.h"
......@@ -40,6 +39,12 @@ public:
return true;
bool canMount(const QString & deviceNode, const QString & mountPoint) const override;
CommandSupportType supportMove() const override {
return m_Move;
static CommandSupportType m_Move;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment