You are not logged in.
Pages: 1
sda4 is the partition luks encrypted as home (/dev/home/mapper | /dev/dm-1)
it's opened at boot using /etc/crypttab
ID_FS_LABEL=home in /dev/dm-1
udevadm info /dev/dm-1 --query=all doesn't tell the parent (physical partition sda4). how can I output it so I can use it in udev rule?
or is there any way to match dm-1 with sda4 without hardcoding paths?
I want to write a rule for sda4 but as a condition that it is the parent partition for dm-1 (without hardcoding sda4 and dm-1)
thank you.
Offline
Pages: 1