https://bugs.kde.org/show_bug.cgi?id=398154

            Bug ID: 398154
           Summary: kpmcore starts external process dd
           Product: partitionmanager
           Version: Git
          Platform: Other
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: andr...@stikonas.eu
          Reporter: pali.ro...@gmail.com
  Target Milestone: ---

It does not make any sense to use external process dd. Qt provides QFile class
for reading and writing to files.

$ git grep '"dd"'
src/fs/fat12.cpp:    m_UpdateUUID = findExternal(QStringLiteral("dd")) ?
cmdSupportFileSystem : cmdSupportNone;
src/fs/fat12.cpp:    ExternalCommand cmd(report, QStringLiteral("dd"), {
QStringLiteral("of=") + deviceNode , QStringLiteral("bs=1"),
QStringLiteral("count=4"), QStringLiteral("seek=39") });
src/fs/fat16.cpp:    m_UpdateUUID = findExternal(QStringLiteral("dd")) ?
cmdSupportFileSystem : cmdSupportNone;
src/fs/fat32.cpp:    ExternalCommand cmd(report, QStringLiteral("dd"), {
QStringLiteral("of=") + deviceNode, QStringLiteral("bs=1"),
QStringLiteral("count=4"), QStringLiteral("seek=67") });
src/fs/ntfs.cpp:    ExternalCommand cmd(report, QStringLiteral("dd"), {
QStringLiteral("of=") + deviceNode , QStringLiteral("bs=1"),
QStringLiteral("count=4"), QStringLiteral("seek=28") });
src/fs/ntfs.cpp:    ExternalCommand cmd2(report, QStringLiteral("dd"), {
QStringLiteral("of=") + deviceNode , QStringLiteral("bs=1"),
QStringLiteral("count=4"), QStringLiteral("seek=") + QString::number(pos) });
src/plugins/sfdisk/sfdiskbackend.cpp:        ExternalCommand
ddCommand(QStringLiteral("dd"),
src/util/externalcommand_whitelist.h:QStringLiteral("dd"),

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to