Sample Header Ad - 728x90

Modifying a squashfs,

11 votes
3 answers
22234 views
Obviously, I don't want to actually modify a squashfs. What I would like to do though is take an existing squashfs, a set of files and create a new squashfs which is identical to the old one except that the files in the set either replace similar files in the squasfs or are just added if there is no similar files. OK, that last part sounded weird. So let me give an example: There is a squashfs called mfs.squash. Inside it there is a file ./a/foo. I want to create a new squashfs which is identical to the old squashfs – except that there is a new file a/b and I overwrite the ./a/foo with one of my specification.
Asked by HandyGandy (2239 rep)
Mar 9, 2011, 08:08 AM
Last activity: Mar 10, 2024, 01:22 AM