debian-forge/devices
Michael Vogt ca558c2479 devices: create /dev/mapper/<logical-volume> as well
When we create the device node inside the buildroot so far it's
very minimal - just `/dev/{vg}-{lv}` with the appopriate major/minor.

However when mount runs it will create a mapper device with the
same major/minor under `/dev/mapper/{escaped(vg)}-{escaped(lv)}`
and use that to mount the actual filesystem. Without this additional
device findmnt will not be able to detect the udev attributes of
the source (as the source is just missing from /dev).

This commit create the right mapper in the same way that we
create the non-mapper device node.
2024-08-27 13:52:59 +02:00
..
test devices: create /dev/mapper/<logical-volume> as well 2024-08-27 13:52:59 +02:00
org.osbuild.loopback devices/loopback: enable partition scanning as an option 2023-12-22 10:18:29 -05:00
org.osbuild.luks2 devices/luks2: use new ensure_device_node helper 2022-11-22 18:28:38 +01:00
org.osbuild.lvm2.lv devices: create /dev/mapper/<logical-volume> as well 2024-08-27 13:52:59 +02:00