Open
Description
When generating initramfs images, dracut currently recreates the filesystem tree in a staging area under tmpdir
. This is mostly needed due to GNU cpio's unfortunate source-path-is-dest-path behaviour.
As of #1531 dracut now has it's own (optional) cpio archiver dracut-cpio
. dracut-cpio
currently replicates the GNU cpio source-path-is-dest-path behaviour, but it could be modified to process a content manifest similar to the kernel's gen_init_cpio
utility, which uses separate source and destination file paths.
Eliminating tmpdir
staging for cpio data should provide a not-insignificant performance boost for both reflinked (via copy_file_range
) and non-reflinked cpio archives.