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

Lennart Poettering lennart at poettering.net
Fri May 29 08:06:04 PDT 2015

On Fri, 29.05.15 17:01, Martin Pitt (martin.pitt at ubuntu.com) wrote:

> Harald Hoyer [2015-05-29 16:50 +0200]:
> > I was more thinking about symlinks pointing to the same device.
> Naïvely I'd think that resolving symlinks would still be more readable
> than major/minor numbers; why would that be worse?

Well, sure, one can do that too. However, internally in udev we
generally identify devices by the major/minor or by their network
interface index, since these are not subject to renames ever... And I
think this tool should follow what we do in udev in this regard, I guess.


Lennart Poettering, Red Hat

More information about the systemd-devel mailing list