User Tools

Site Tools


linux:slitaz:rootfs

参考:http://doc.slitaz.org/cn:handbook:chroot

解压命令:

unlzma rootfs.gz -S .gz
cat rootfs |cpio -id

OR:

(zcat rootfs.gz 2>/dev/null || lzma d rootfs.gz -so) | cpio -id

rm rootfs rootfs.gz

打包命令:

find . -print|cpio -o -H newc|gzip -9 >../rootfs.gz
/var/www/dokuwiki/wiki/data/pages/linux/slitaz/rootfs.txt · Last modified: 2016/05/05 13:07 by 127.0.0.1