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()
|
||||
{
|
||||
m_Create = findExternal(QStringLiteral("cryptsetup")) ? cmdSupportFileSystem : cmdSupportNone;
|
||||
m_SetLabel = cmdSupportFileSystem;
|
||||
m_SetLabel = cmdSupportNone;
|
||||
m_GetLabel = cmdSupportFileSystem;
|
||||
m_UpdateUUID = 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.
|
||||
mounted = isMounted(mapperNode);
|
||||
} else {
|
||||
luksFs->m_SetLabel = FileSystem::cmdSupportNone;
|
||||
mounted = false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue