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:
3196c64
)
Use luks-${UUID} instead of LUKS-udisks2-${UUID} to match the rest of the OS
author
David Zeuthen
<davidz@redhat.com>
Wed, 2 Nov 2011 20:22:09 +0000
(16:22 -0400)
committer
David Zeuthen
<davidz@redhat.com>
Wed, 2 Nov 2011 20:22:09 +0000
(16:22 -0400)
In particular, systemd uses luks-${UUID}
Signed-off-by: David Zeuthen <davidz@redhat.com>
src/udiskslinuxencrypted.c
patch
|
blob
|
history
diff --git
a/src/udiskslinuxencrypted.c
b/src/udiskslinuxencrypted.c
index
fef342a
..
066019d
100644
(file)
--- a/
src/udiskslinuxencrypted.c
+++ b/
src/udiskslinuxencrypted.c
@@
-309,7
+309,7
@@
handle_unlock (UDisksEncrypted *encrypted,
if (is_in_crypttab && crypttab_name != NULL)
name = g_strdup (crypttab_name);
else
- name = g_strdup_printf ("
LUKS-udisks2
-%s", udisks_block_get_id_uuid (block));
+ name = g_strdup_printf ("
luks
-%s", udisks_block_get_id_uuid (block));
escaped_name = g_strescape (name, NULL);
/* if available, use and prefer the /etc/crypttab passphrase */