This tool is used by the new mkinitfs to finalize/install boot files. It's based on the old mkinitfs_functions.sh, but includes some improvements like verifying free space in target directory, and trying to atomically mv files.