Preloading the attached shared library solves the hang on non-udev initrds. Compile with
gcc -shared -fPIC -o no-udev.so UdevDisableLib.c -ldl
Difference seems to be that /dev/mapper/ entries are created a s block devices, not symlinks any more. But that does not hurt in my usecase (kexec will kill the whole initrd immediately afterwards).
Preloading the attached shared library solves the hang on non-udev initrds. Compile with
gcc -shared -fPIC -o no-udev.so UdevDisableLib.c -ldl
Difference seems to be that /dev/mapper/ entries are created a s block devices, not symlinks any more. But that does not hurt in my usecase (kexec will kill the whole initrd immediately afterwards).