[systemd-devel] How to automatically decrypt a disk on connection

Andrei Borzenkov arvidjaar at gmail.com
Thu Mar 28 07:30:06 UTC 2024


On Wed, Mar 27, 2024 at 9:49 PM Orion Poplawski <orion at nwra.com> wrote:
> >
> > Use $kernel in rule and /dev/%I in service.
>
> Thank you, that works.  udev monitor -p doesn't show the value of KERNEL so I
> didn't see that as an option.
>

udev documentation lists $kernel when describing substitutions.

But yes, native support for systemd unit name escaping would be nice.


More information about the systemd-devel mailing list