Suppose we have
we can append to it by:
mksquashfs somefile filesystem.squashfs
somefile to root of squashfs file. appending directory:
mksquashfs somedir/ filesystem.squashfs
would append files and directories inside
somedir/ to the root of squashfs file. and if a directory or file exist in the tree of squashfs then
mksquashfs would rename new files, not changing old files and directories. well it make sense the phrase of "append".
I'm aware of
unsquashfs which decompress the squashfs, but I'm curious if perhaps there is a way to add a new file or directory to existing sub-directory inside squashfs tree without decompressing?