[root@localhost test]#
[root@localhost test]#
[root@localhost test]# mv initrd.img.gz initrd.img
[root@localhost test]# ls
initrd.img
[root@localhost test]#
[root@localhost test]#
[root@localhost test]#
[root@localhost test]# cp initrd.img ../
[root@localhost test]# ls
initrd.img
[root@localhost test]#
[root@localhost test]#
[root@localhost test]# xz -dc initrd.img | cpio -id
266405 块
[root@localhost test]# ls
bin dev etc init initrd.img lib lib64 proc root run sbin shutdown sys sysroot tmp usr var
[root@localhost test]#
[root@localhost test]#
[root@localhost test]# rm initrd.img
rm:是否删除普通文件 "initrd.img"?y
[root@localhost test]#
[root@localhost test]#
[root@localhost test]# ls
bin dev etc init lib lib64 proc root run sbin shutdown sys sysroot tmp usr var
[root@localhost test]#
[root@localhost test]# find . | cpio -c -o | xz -9 --format=lzma > initrd.img
阅读(1300) | 评论(0) | 转发(0) |