Reword a comment.
This commit is contained in:
parent
30bd4d62a9
commit
26b352180b
|
@ -471,7 +471,7 @@ FileSystem::Type SfdiskBackend::detectFileSystem(const QString& partitionPath)
|
||||||
|
|
||||||
rval = runDetectFileSystemCommand(udevCommand, typeRegExp, versionRegExp, name);
|
rval = runDetectFileSystemCommand(udevCommand, typeRegExp, versionRegExp, name);
|
||||||
|
|
||||||
// Fallback to blkid. blkid has slightly worse detection but it works on whole block device filesystems.
|
// Fallback to blkid which has slightly worse detection but it works on whole block device filesystems.
|
||||||
if (rval == FileSystem::Type::Unknown) {
|
if (rval == FileSystem::Type::Unknown) {
|
||||||
ExternalCommand blkidCommand(QStringLiteral("blkid"), { partitionPath });
|
ExternalCommand blkidCommand(QStringLiteral("blkid"), { partitionPath });
|
||||||
typeRegExp = QStringLiteral("TYPE=\"(\\w+)\"");
|
typeRegExp = QStringLiteral("TYPE=\"(\\w+)\"");
|
||||||
|
|
Loading…
Reference in New Issue