当前位置:网站首页>【君正T31】只读rootfs文件系统squashfs的解压和打包
【君正T31】只读rootfs文件系统squashfs的解压和打包
2022-06-29 11:52:00 【TSINGEYE】
查看squashfs压缩信息
# 安装mksquashfs工具
apt install mtd-utils
# 查看压缩信息
unsquashfs -s root-glibc-toolchain4.7.2-1.1.squashfs
# 显示
Found a valid SQUASHFS 4:0 superblock on root-glibc-toolchain4.7.2-1.1.squashfs.
Creation or last append time Tue Feb 23 08:42:12 2021
Filesystem size 1582.11 Kbytes (1.55 Mbytes)
Compression xz
Block size 131072
Filesystem is exportable via NFS
Inodes are compressed
Data is compressed
Fragments are compressed
Always-use-fragments option is not specified
Xattrs are compressed
Duplicates are removed
Number of fragments 5
Number of inodes 313
Number of ids 2
可以看到压缩方式xz,blocksize131072
解压
unsquashfs root-glibc-toolchain4.7.2-1.1.squashfs 会解包到当前目录下的squashfs-root文件夹
unsquashfs root-glibc-toolchain4.7.2-1.1.squashf
打包
mksquashfs rootfs[输入文件加] rootfs.squashfs[输出文件名] -comp xz
交流群
QQ群:941962488
wx群: 18675721(加好友邀请)
边栏推荐
- 535. TinyURL 的加密与解密 : 设计一个 URL 简化系统
- Gbase8s database into standard and into raw clauses
- Go高级工程师必修课 | 真心建议你来听听,别错过~
- 如何計算win/tai/loss in paired t-test
- 推荐模型复现(三):召回模型YoutubeDNN、DSSM
- GBase8s数据库与 FOR UPDATE 子句不兼容的语法
- 【JUC系列】同步工具类之ThreadLocal
- ERP Kingdee for preparing BOM
- Difficult conversation breaks through the bottleneck of conversation and achieves perfect communication
- 1. opencv realizes simple color recognition
猜你喜欢

Method area of JVM

Paper reproduction - ac-fpn:attention-guided context feature pyramid network for object detection

Go Senior Engineer required course | I sincerely suggest you listen to it. Don't miss it~

面试突击61:说一下MySQL事务隔离级别?

高校如何基于云原生构建面向未来的智慧校园?全栈云原生架构VS传统IT架构

AGCO AI frontier promotion (6.29)

Ttchat x Zadig open source co creates helm access scenarios, and environmental governance can be done!
![[comprehensive case] credit card virtual transaction identification](/img/85/9915ab9a6100a022dfa1c0050d554f.png)
[comprehensive case] credit card virtual transaction identification

Difficult conversation breaks through the bottleneck of conversation and achieves perfect communication

Introduction to multi project development - business scenario Association basic introduction test payroll
随机推荐
go 学习-搭建开发环境vscode开发环境golang
Gbase8s database select has order by Clause 2
Unexpected ‘debugger‘ statement no-debugger
Cache consistency, delete cache, write cache, cache breakdown, cache penetration, cache avalanche
GBase8s数据库INTO TEMP 子句创建临时表来保存查询结果。
Gbase8s database into temp clause creates a temporary table to save query results.
GBase8s数据库FOR READ ONLY 子句
oracle 19c : change the user sys/system username pasword under Linux
解决问题:ModuleNotFoundError: No module named ‘pip‘
Quick look | the long-awaited 2022 Guangzhou assistant testing engineer's real problem analysis is finally released
Go高级工程师必修课 | 真心建议你来听听,别错过~
如何计算win/tai/loss in paired t-test
Go question bank · 14 the pit of waitgroup
Li Kou daily question - day 31 -13 Roman array to integer
Gbase8s database for read only clause
LeetCode_双指针_中等_328.奇偶链表
Interpolated scatter data
MySQL master-slave synchronous asynchronous replication semi synchronous replication full synchronous replication
《高难度谈话》突破谈话瓶颈,实现完美沟通
Syntax of gbase8s database incompatible with for update clause