Add a comment about FAT volume ID hack.

This commit is contained in:
Andrius Štikonas 2017-09-28 14:24:13 +01:00
parent e957c220bd
commit 8c3ab58d84
1 changed files with 1 additions and 0 deletions

View File

@ -56,6 +56,7 @@ bool fat32::updateUUID(Report& report, const QString& deviceNode) const
t >>= 8;
}
// HACK: replace this hack with fatlabel "-i" (dosfstools 4.2)
ExternalCommand cmd(report, QStringLiteral("dd"), { QStringLiteral("of=") + deviceNode, QStringLiteral("bs=1"), QStringLiteral("count=4"), QStringLiteral("seek=67") });
if (!cmd.start())