diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-05-05 01:03:16 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-05-05 01:56:50 +0200 |
commit | 949d1c2a5553b54fe6bc2b8c7aca10a892e595d7 (patch) | |
tree | 19f23bd62f8099a088926e45216546e813bec80f /unpack/rdsquashfs.h | |
parent | da5656a8a696863e0d9941091c09c75b03a6070b (diff) |
rdsquashfs: reorder unpack flags, add flag to produce listing
The listing command has been used successfully to do the following:
- generate a prestine file system using gensquashfs
- repeate multiple times:
- generate a listing from the file system
- unpack only the regular files from the file system
- generate a new file system from the listing
- run `diff` on the old and new filesystem and admire that they
are identical
- replace the old file system with the new one, since they are
identical
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'unpack/rdsquashfs.h')
-rw-r--r-- | unpack/rdsquashfs.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/unpack/rdsquashfs.h b/unpack/rdsquashfs.h index a9d5bdf..f1cd131 100644 --- a/unpack/rdsquashfs.h +++ b/unpack/rdsquashfs.h @@ -55,4 +55,6 @@ int extract_file(file_info_t *fi, unsqfs_info_t *info, int outfd); int restore_fstree(const char *rootdir, tree_node_t *root, unsqfs_info_t *info); +void describe_tree(tree_node_t *root, const char *unpack_root); + #endif /* RDSQUASHFS_H */ |