You are not logged in.
Well, I was using lsinitcpio -x to extract my initcpio file (using unified kernel image) to check the content inside it.
I found the /usr/bin/dmsetup inside the initcpio image, but I can't find any "add_binary" that add the dmsetup in all of the mkinitcpio install file in the rootfs /usr/lib/initcpio/install/*
I also check the mkinitcpio script itself but find nothing about the dmsetup.
So where is this dmsetup come from?
My mkinitcpio hooks are:
HOOKS=(systemd autodetect microcode modconf keyboard sd-vconsole sd-encrypt block filesystems fsck)
Other sections in the mkinitcpio.conf are empty.
Last edited by OIhfes (2024-11-06 17:13:08)
Offline
/usr/lib/initcpio/install/sd-encrypt which includes `map add_udev_rule '10-dm.rules'` which adds /usr/lib/udev/rules.d/10-dm.rules which includes `IMPORT{program}="/usr/bin/dmsetup udevflags $env{DM_COOKIE}"`.
Online
Very thanks! It is so deeply hidden that it will be difficult for me to find its source without your help.
Offline