Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] udisk : use predefined name
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
toralf
Developer
Developer


Joined: 01 Feb 2004
Posts: 3942
Location: Hamburg

PostPosted: Mon Nov 28, 2011 6:08 pm    Post subject: [solved] udisk : use predefined name Reply with quote

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
View user's profile Send private message
X-Drum
Advocate
Advocate


Joined: 24 Aug 2003
Posts: 2517
Location: ('Modica','Trieste','Ferrara') Italy

PostPosted: Sun Sep 09, 2012 10:41 am    Post subject: Reply with quote

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
View user's profile Send private message
toralf
Developer
Developer


Joined: 01 Feb 2004
Posts: 3942
Location: Hamburg

PostPosted: Sun Sep 09, 2012 11:37 am    Post subject: Reply with quote

works - thx
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum