赞
踩
1、重构squashfs
[root@localhost LiveOS]# yum -y install squashfs-tools
[root@localhost img]# unsquashfs squashfs.img #由于squashfs.img只读,需拷贝出来进行解压
[root@localhost LiveOS]# ls
rootfs.img
[root@localhost LiveOS]# pwd
/data/img/squashfs-root/LiveOS
[root@localhost LiveOS]# mount rootfs.img /data/rootfs/ #将rootfs.img 挂载到目录
[root@localhost LiveOS]# cd /data/rootfs/
[root@localhost rootfs]# ls
bin boot dev etc firmware lib lib64 lost+found mnt modules proc root run sbin sys tmp usr var
[root@localhost rootfs]# find . -name mdadm*
./run/mdadm
./usr/lib/systemd/system-shutdown/mdadm.shutdown
./usr/lib/systemd/system/mdadm-last-resort@.service
./usr/lib/systemd/system/mdadm-grow-continue@.service
./usr/lib/systemd/system/mdadm-last-resort@.timer
./usr/lib/tmpfi
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。