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

Lennart Poettering lennart at poettering.net
Fri May 29 07:26:38 PDT 2015

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 Poettering, Red Hat

More information about the systemd-devel mailing list