[gnome-disk-utility/udisks2-port] Pass 'take-ownership' set to TRUE option when creating ext4 filesystems
- From: David Zeuthen <davidz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-disk-utility/udisks2-port] Pass 'take-ownership' set to TRUE option when creating ext4 filesystems
- Date: Wed, 2 Nov 2011 18:08:37 +0000 (UTC)
commit 026b9497f46e0a4366e49f2d8b6a0c987bbc3ef6
Author: David Zeuthen <davidz redhat com>
Date: Wed Nov 2 14:08:21 2011 -0400
Pass 'take-ownership' set to TRUE option when creating ext4 filesystems
Signed-off-by: David Zeuthen <davidz redhat com>
src/palimpsest/gduformatvolumedialog.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/palimpsest/gduformatvolumedialog.c b/src/palimpsest/gduformatvolumedialog.c
index 1ffaa23..7b652ef 100644
--- a/src/palimpsest/gduformatvolumedialog.c
+++ b/src/palimpsest/gduformatvolumedialog.c
@@ -186,10 +186,12 @@ gdu_format_volume_dialog_show (GduWindow *window,
break;
case 1:
type = "ext4";
+ g_variant_builder_add (&options_builder, "{sv}", "take-ownership", g_variant_new_boolean (TRUE));
break;
case 2:
/* TODO */
type = "luks+ext4";
+ g_variant_builder_add (&options_builder, "{sv}", "take-ownership", g_variant_new_boolean (TRUE));
break;
case 3:
type = gtk_entry_get_text (GTK_ENTRY (data->filesystem_entry));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]