difference between mkinitrd and dracut -f

What is the difference between running **mkinitrd** and **dracut -f**?

Is it preferable to use mkinitrd in some situation?


mkinitrd-suse - is a compat wrapper, which calls dracut to generate an initramfs

-> https://github.com/dracutdevs/dracut/blob/master/mkinitrd-suse.8.asc

For me recently in TW chroot, mkinitrd -B worked when dracut would not.

@mrmazda Thanks.

I’ve also noticed that **mkinitrd** will make a ramdisk for all installed kernels,
where **dracut -f** seems to just make one for the active kernel.