projects
/
platform
/
upstream
/
udisks2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb813b4
)
Fix creating NTFS on raw devices
author
Martin Pitt
<martin.pitt@ubuntu.com>
Tue, 28 Sep 2010 07:53:20 +0000
(09:53 +0200)
committer
Martin Pitt
<martin.pitt@ubuntu.com>
Tue, 28 Sep 2010 07:54:20 +0000
(09:54 +0200)
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
patch
|
blob
|
history
diff --git
a/src/helpers/job-mkfs.c
b/src/helpers/job-mkfs.c
index
52db903
..
2ab7400
100644
(file)
--- 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="))