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:
8cded1c
)
Pass -F to mkfs.ext[234] to allow creating a filesystem on the whole disk
author
David Zeuthen
<davidz@redhat.com>
Tue, 27 Oct 2009 16:16:55 +0000
(12:16 -0400)
committer
David Zeuthen
<davidz@redhat.com>
Tue, 27 Oct 2009 16:16:55 +0000
(12:16 -0400)
src/job-mkfs.c
patch
|
blob
|
history
diff --git
a/src/job-mkfs.c
b/src/job-mkfs.c
index
58e82b1
..
8549aa6
100644
(file)
--- a/
src/job-mkfs.c
+++ b/
src/job-mkfs.c
@@
-128,6
+128,7
@@
main (int argc, char **argv)
s = g_string_new ("mkfs.");
g_string_append (s, fstype);
for (n = 0; options[n] != NULL; n++) {
+ g_string_append (s, " -F ");
if (g_str_has_prefix (options[n], "label=")) {
label = strdup (options[n] + sizeof ("label=") - 1);
if (!validate_and_escape_label (&label, 16)) {