Changeset View
Changeset View
Standalone View
Standalone View
src/plugins/sfdisk/sfdiskbackend.cpp
Show First 20 Lines • Show All 455 Lines • ▼ Show 20 Line(s) | 408 | if (udevCommand.run(-1) && udevCommand.exitCode() == 0) { | |||
---|---|---|---|---|---|
456 | else if (s == QStringLiteral("nilfs2")) rval = FileSystem::Type::Nilfs2; | 456 | else if (s == QStringLiteral("nilfs2")) rval = FileSystem::Type::Nilfs2; | ||
457 | else if (s == QStringLiteral("LVM2_member")) rval = FileSystem::Type::Lvm2_PV; | 457 | else if (s == QStringLiteral("LVM2_member")) rval = FileSystem::Type::Lvm2_PV; | ||
458 | else if (s == QStringLiteral("f2fs")) rval = FileSystem::Type::F2fs; | 458 | else if (s == QStringLiteral("f2fs")) rval = FileSystem::Type::F2fs; | ||
459 | else if (s == QStringLiteral("udf")) rval = FileSystem::Type::Udf; | 459 | else if (s == QStringLiteral("udf")) rval = FileSystem::Type::Udf; | ||
460 | else if (s == QStringLiteral("iso9660")) rval = FileSystem::Type::Iso9660; | 460 | else if (s == QStringLiteral("iso9660")) rval = FileSystem::Type::Iso9660; | ||
461 | else if (s == QStringLiteral("linux_raid_member")) rval = FileSystem::Type::LinuxRaidMember; | 461 | else if (s == QStringLiteral("linux_raid_member")) rval = FileSystem::Type::LinuxRaidMember; | ||
462 | else if (s == QStringLiteral("BitLocker")) rval = FileSystem::Type::BitLocker; | 462 | else if (s == QStringLiteral("BitLocker")) rval = FileSystem::Type::BitLocker; | ||
463 | else if (s == QStringLiteral("apfs")) rval = FileSystem::Type::Apfs; | 463 | else if (s == QStringLiteral("apfs")) rval = FileSystem::Type::Apfs; | ||
464 | else if (s == QStringLiteral("minix")) rval = FileSystem::Type::Minix; | ||||
464 | else | 465 | else | ||
465 | qWarning() << "unknown file system type " << s << " on " << partitionPath; | 466 | qWarning() << "unknown file system type " << s << " on " << partitionPath; | ||
stikonas: remove trailing whitespace here too | |||||
466 | } | 467 | } | ||
467 | 468 | | |||
468 | return rval; | 469 | return rval; | ||
469 | } | 470 | } | ||
470 | 471 | | |||
471 | QString SfdiskBackend::readLabel(const QString& deviceNode) const | 472 | QString SfdiskBackend::readLabel(const QString& deviceNode) const | ||
472 | { | 473 | { | ||
473 | ExternalCommand udevCommand(QStringLiteral("udevadm"), { | 474 | ExternalCommand udevCommand(QStringLiteral("udevadm"), { | ||
▲ Show 20 Lines • Show All 68 Lines • Show Last 20 Lines |
remove trailing whitespace here too