Re: How to automatically decrypt a disk on connection

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 3/28/24 01:30, Andrei Borzenkov wrote:
On Wed, Mar 27, 2024 at 9:49 PM Orion Poplawski <orion@xxxxxxxx> 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.

It does, but it's not clear to me what the value would be:

    The kernel name for this device.

I suppose "sda1" makes total sense, but perhaps some examples would be helpful.

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

--
Orion Poplawski
he/him/his  - surely the least important thing about me
IT Systems Manager                         720-772-5637
NWRA, Boulder/CoRA Office             FAX: 303-415-9702
3380 Mitchell Lane                       orion@xxxxxxxx
Boulder, CO 80301                 https://www.nwra.com/

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux