Files
cmp-docs/docs/linux/fs-squash.md
2024-11-22 14:02:01 +03:00

376 B

Squash

Gensquashfs

gensquashfs -f -F ./list-file -c xz -X "dictsize=1048576,level=9" -b 1048576 /tmp/output.sqfs

Where in list-file

# comment

dir sqfs/path 0755 999 999

file sqfs/path/file 0644 uid git /real/path/to/file

Mksquashfs

mksquashfs ./ ../output.sqfs -comp xz -Xdict-size 100% -b 1048576 -force-uid 0 -force-gid 0