[systemd-devel] [PATCH] cryptsetup: craft a unique ID with the source device

Harald Hoyer harald at redhat.com
Fri May 29 07:30:51 PDT 2015


Am 29.05.2015 um 16:26 schrieb Lennart Poettering:
> On Fri, 29.05.15 12:17, harald at redhat.com (harald at redhat.com) wrote:
> 
>> From: Harald Hoyer <harald at redhat.com>
>>
>> If cryptsetup is called with a source device as argv[3], then craft the
>> ID for the password agent with a unique device path.
>>
>> If possible "/dev/block/<maj>:<min>" is used, otherwise the original
>> argv[3] is used.
> 
> Why use the major/minor numebrs here? Why isn't the original device
> name good enough?
> 
> Lennart
> 

Don't we want a kind of unique ID?


More information about the systemd-devel mailing list