initrd-2.6.9-5.EL.img小技巧
initrd-2.6.9-5.EL.img
解压
gzip -dc initrd-2.6.9-5.EL.img |cpio -div
压缩
find xxx yyy | cpio -ov -H crc |gzip -9> zz.cgz
解压缩 .cgz文件
cpio -divm <**.cgz
打开initrd.img文件
mv initrd.img initrd.gz
gzip -d initrd.gz
mount -o loop initrd /dir
gzip
-d decompress
-c write on standard output, keep original files unchanged
-9 compress better
cpio
-d Create leading directories where needed
-i Extract files from an archive (run in copy-in mode)
-v Verbosely list the files processed
-m Retain previous file modification times when creating files
-o Create the archive (run in copy-out mode)
-H --format=FORMAT Use given archive FORMAT
本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/15901/showart_326794.html
解压
gzip -dc initrd-2.6.9-5.EL.img |cpio -div
压缩
find xxx yyy | cpio -ov -H crc |gzip -9> zz.cgz
解压缩 .cgz文件
cpio -divm <**.cgz
打开initrd.img文件
mv initrd.img initrd.gz
gzip -d initrd.gz
mount -o loop initrd /dir
gzip
-d decompress
-c write on standard output, keep original files unchanged
-9 compress better
cpio
-d Create leading directories where needed
-i Extract files from an archive (run in copy-in mode)
-v Verbosely list the files processed
-m Retain previous file modification times when creating files
-o Create the archive (run in copy-out mode)
-H --format=FORMAT Use given archive FORMAT
本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/15901/showart_326794.html
温习压缩与解压缩命令Tar
tar linux 命令说明
建立针对arm-linux的交叉编译环境
�案的���打包
debian naming 源码剖析
网络分析仪 HP8753C HP8753D HP8753E HP8753ES
Linux压缩打包命令使用方法
D-link DFE-530TX安装
常见的“压缩与解压缩”方法
gzip linux 命令说明
免责声明:
1、本文系本网编辑转载,转载目的在于传递更多信息,并不代表本网赞同其观点和对其真实性负责。
2、如涉及作品内容、版权和其它问题,请在30日内与本网联系,我们将在第一时间删除内容
1、本文系本网编辑转载,转载目的在于传递更多信息,并不代表本网赞同其观点和对其真实性负责。
2、如涉及作品内容、版权和其它问题,请在30日内与本网联系,我们将在第一时间删除内容