From e180c5738e8d997090f29f67308f4ecb4fab1656 Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Tue, 28 Sep 2010 09:53:20 +0200 Subject: [PATCH] Fix creating NTFS on raw devices Similarly to the other file systems, add a -F option to mkntfs, to avoid failing on "this is not a partition blabla". --- src/helpers/job-mkfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/helpers/job-mkfs.c b/src/helpers/job-mkfs.c index 52db903..2ab7400 100644 --- a/src/helpers/job-mkfs.c +++ b/src/helpers/job-mkfs.c @@ -277,7 +277,7 @@ main (int argc, /* skip zeroing (we do that ourselves) and bad sector checking (will * eventually be handled on a higher level) */ - s = g_string_new ("mkntfs -f"); + s = g_string_new ("mkntfs -f -F"); for (n = 0; options[n] != NULL; n++) { if (g_str_has_prefix (options[n], "label=")) -- 2.7.4