diff --git a/src/fs/nilfs2.cpp b/src/fs/nilfs2.cpp index 271126c..9fe3fb9 100644 --- a/src/fs/nilfs2.cpp +++ b/src/fs/nilfs2.cpp @@ -117,7 +117,7 @@ bool nilfs2::check(Report& report, const QString& deviceNode) const bool nilfs2::create(Report& report, const QString& deviceNode) { - ExternalCommand cmd(report, QStringLiteral("mkfs.nilfs2"), { deviceNode }); + ExternalCommand cmd(report, QStringLiteral("mkfs.nilfs2"), { QStringLiteral("-f"), deviceNode }); return cmd.run(-1) && cmd.exitCode() == 0; }