View previous topic :: View next topic |
Author |
Message |
toralf Developer
Joined: 01 Feb 2004 Posts: 3942 Location: Hamburg
|
Posted: Mon Nov 28, 2011 6:08 pm Post subject: [solved] udisk : use predefined name |
|
|
Well, mein encrypted partition at an external USB drive is mounted udner KDE in this way : Code: | /dev/mapper/udisks-luks-uuid-7f2f5b8b-fdd2-451f-bb94-faf3fd5aa663-uid1000
150229 105809 44420 71% /media/e3743250-6d49-4231-a758-20be59db98c4
| Now I'm wondering, where I can define for this drive a short-hand name ?
Last edited by toralf on Sun Sep 09, 2012 11:37 am; edited 1 time in total |
|
Back to top |
|
|
X-Drum Advocate
Joined: 24 Aug 2003 Posts: 2517 Location: ('Modica','Trieste','Ferrara') Italy
|
Posted: Sun Sep 09, 2012 10:41 am Post subject: |
|
|
Hi,
this happens due the lack of label on your luks-encrypted volume.
Assuming your external luks device is /dev/sdc1, you are using ext2/ext3/ext3
and your preffered short-hand name is storage, do the following to relabel your volume:
Code: | cryptsetup luksOpen /dev/sdc1 tmpmap
e2label /dev/mapper/tmpmap storage
cryptsetup luksClose /dev/mapper/tmpmap
|
Now try again to mount your external drive via kde/udisks, the new mountpoint should be: /media/storage _________________ "...There are two sort of lies, lies and benchmarks..." |
|
Back to top |
|
|
toralf Developer
Joined: 01 Feb 2004 Posts: 3942 Location: Hamburg
|
Posted: Sun Sep 09, 2012 11:37 am Post subject: |
|
|
works - thx |
|
Back to top |
|
|
|