On 2015-12-14 03:26:06, Vincent Fourmond wrote:
>   Hello,
>
> On Sun, Dec 13, 2015 at 11:37 PM, Antoine Beaupré <anar...@debian.org>
> wrote:
>
>> It would be great if pmount uses the encrypted disk label when mounting
>> a drive. I assume it does when it mounts a regular drive, but it seems
>> it doesn't discover the underlying one when using cryptsetup.
>>
>
>   As far as I can tell, the label of the encrypted disk is also encrypted,
> so it's a chicken or egg problem: to find out which drive has the label,
> you'll have to decrypt all of them...  But I may be wrong ;-)

Somehow others are doing the right thing, that is: when i click on a
drive in Thunar, for example, it mounts it in the right location.

You can certainly probe the label after you unlocked the drive but
before you mount it.

Just to be clear - i don't care too much about the name of the device,
it's the mountpoint location that matters most.

A.

-- 
Dr. King’s major assumption was that if you are nonviolent, if you
suffer, your opponent will see your suffering and will be moved to
change his heart. He only made one fallacious assumption: In order for
nonviolence to work, your opponent must have a conscience. The United
States has none.
                        - Stokely Carmichael

Reply via email to