cpio:一种在类 Unix 系统中使用的归档工具与文件格式,常用于把一组文件打包成归档、从归档中解包,或在目录间复制文件树;也常见于 initramfs 等系统镜像制作流程中。(它还有作为“cpio 归档格式”的含义。)
/ˌsiː piː aɪ ˈoʊ/
I extracted the archive with cpio.
我用 cpio 解开了这个归档。
To build the initramfs, the script pipes a file list into cpio and then compresses the result.
为了构建 initramfs,脚本把文件列表通过管道传给 cpio,然后再压缩输出结果。
cpio 通常被解释为 copy in, copy out 的缩写,强调它既能“输入/写入”归档(把文件打包进去),也能“输出/取出”归档(从归档中解包);历史上与早期 Unix 的备份/磁带归档工作流密切相关。