If I have understood correctly,is this the correct form ? find . -print -depth | cpio --create --format='newc' > ../../initrd.img-5.10.0-18-amd64
Il giorno ven 28 ott 2022 alle ore 04:32 Max Nikulin <maniku...@gmail.com> ha scritto: > On 28/10/2022 07:07, Mario Marietto wrote: > > > > find . | cpio --create > I rarely use cpio, but recently there was a thread on tar and unwanted > hard links in the created archive. "find" output mixes regular files and > directories. If the archiver recursively walks through received > directories then result may differ from expectations. > > > -- Mario.