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:
38361f2
)
Bug 24054 – Devickit-disks doesn't support changing ntfs label
author
David Zeuthen
<davidz@redhat.com>
Fri, 9 Oct 2009 13:58:51 +0000
(09:58 -0400)
committer
David Zeuthen
<davidz@redhat.com>
Fri, 9 Oct 2009 13:58:51 +0000
(09:58 -0400)
src/job-change-filesystem-label.c
patch
|
blob
|
history
diff --git
a/src/job-change-filesystem-label.c
b/src/job-change-filesystem-label.c
index
d464c2c
..
e2847a4
100644
(file)
--- a/
src/job-change-filesystem-label.c
+++ b/
src/job-change-filesystem-label.c
@@
-85,6
+85,8
@@
main (int argc, char **argv)
else
command_line = g_strdup_printf ("mlabel -i %s \"::%s\"", device, new_label);
+ } else if (strcmp (fstype, "ntfs") == 0) {
+ command_line = g_strdup_printf ("ntfslabel %s \"%s\"", device, new_label);
} else {
g_printerr ("fstype %s not supported\n", fstype);
goto out;