Move luks label handlingfrom libpartedbackend to FS::luks.
This commit is contained in:
parent
19f5ce0b28
commit
a7c9acd518
|
@ -69,7 +69,7 @@ luks::~luks()
|
||||||
void luks::init()
|
void luks::init()
|
||||||
{
|
{
|
||||||
m_Create = findExternal(QStringLiteral("cryptsetup")) ? cmdSupportFileSystem : cmdSupportNone;
|
m_Create = findExternal(QStringLiteral("cryptsetup")) ? cmdSupportFileSystem : cmdSupportNone;
|
||||||
m_SetLabel = cmdSupportFileSystem;
|
m_SetLabel = cmdSupportNone;
|
||||||
m_GetLabel = cmdSupportFileSystem;
|
m_GetLabel = cmdSupportFileSystem;
|
||||||
m_UpdateUUID = findExternal(QStringLiteral("cryptsetup")) ? cmdSupportFileSystem : cmdSupportNone;
|
m_UpdateUUID = findExternal(QStringLiteral("cryptsetup")) ? cmdSupportFileSystem : cmdSupportNone;
|
||||||
m_Grow = findExternal(QStringLiteral("cryptsetup")) ? cmdSupportFileSystem : cmdSupportNone;
|
m_Grow = findExternal(QStringLiteral("cryptsetup")) ? cmdSupportFileSystem : cmdSupportNone;
|
||||||
|
|
|
@ -379,7 +379,6 @@ void LibPartedBackend::scanDevicePartitions(Device& d, PedDisk* pedDisk)
|
||||||
// in helpers.h for convenience.
|
// in helpers.h for convenience.
|
||||||
mounted = isMounted(mapperNode);
|
mounted = isMounted(mapperNode);
|
||||||
} else {
|
} else {
|
||||||
luksFs->m_SetLabel = FileSystem::cmdSupportNone;
|
|
||||||
mounted = false;
|
mounted = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue