libsquashfs 1.3.0
A new set of tools and libraries for working with SquashFS images
|
Follows a sqfs_inode_t if type is SQFS_INODE_FILE. More...
#include <inode.h>
Data Fields | |
sqfs_u32 | blocks_start |
Absolute position of the first data block. | |
sqfs_u32 | fragment_index |
Index into the fragment table or 0xFFFFFFFF if unused. | |
sqfs_u32 | fragment_offset |
Offset into the uncompressed fragment block or 0xFFFFFFFF if unused. | |
sqfs_u32 | file_size |
Total, uncompressed size of the file in bytes. | |
Follows a sqfs_inode_t if type is SQFS_INODE_FILE.
The declaration does not contain the flexible array member for the data block sizes because sqfs_inode_generic_t would otherwies be impossible to implement without violating the C standard.
For each data block, the inode is followed by a 32 bit integer that holds the on-disk size of the compressed block in bytes and has bit number 24 set if the block is stored uncompressed.
If a block size is specified as zero, it is assumed to be an entire block filled with zero bytes.
sqfs_u32 blocks_start |
sqfs_u32 file_size |
sqfs_u32 fragment_index |
sqfs_u32 fragment_offset |