From 700dddb875e3eeeb360009692155e1b620ba2690 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrius=20=C5=A0tikonas?= Date: Mon, 23 Jul 2018 22:52:59 +0100 Subject: [PATCH] Do not reassemble RAID devices after partition table commit. Reassembling RAID devices causes devices to disappear and reappear with a different name. --- src/plugins/sfdisk/sfdiskpartitiontable.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/plugins/sfdisk/sfdiskpartitiontable.cpp b/src/plugins/sfdisk/sfdiskpartitiontable.cpp index 4e24de5..d7f84c6 100644 --- a/src/plugins/sfdisk/sfdiskpartitiontable.cpp +++ b/src/plugins/sfdisk/sfdiskpartitiontable.cpp @@ -57,8 +57,6 @@ bool SfdiskPartitionTable::commit(quint32 timeout) ExternalCommand(QStringLiteral("blockdev"), { QStringLiteral("--rereadpt"), m_device->deviceNode() }).run(); ExternalCommand(QStringLiteral("udevadm"), { QStringLiteral("trigger") }).run(); - SoftwareRAID::reassembleSoftwareRAID(m_device->deviceNode()); - return true; }