libsquashfs 1.3.0
A new set of tools and libraries for working with SquashFS images
|
Contains on-disk data structures, identifiers and functions for the SquashFS super block. More...
#include "sqfs/predef.h"
Go to the source code of this file.
Data Structures | |
struct | sqfs_super_t |
The SquashFS super block, located at the beginning of the file system to describe the layout of the filesystem. More... | |
Macros | |
#define | SQFS_MAGIC 0x73717368 |
#define | SQFS_VERSION_MAJOR 4 |
#define | SQFS_VERSION_MINOR 0 |
#define | SQFS_DEVBLK_SIZE 4096 |
#define | SQFS_MIN_BLOCK_SIZE (4 * 1024) |
#define | SQFS_MAX_BLOCK_SIZE (1024 * 1024) |
#define | SQFS_DEFAULT_BLOCK_SIZE (128 * 1024) |
Enumerations | |
enum | SQFS_COMPRESSOR { SQFS_COMP_GZIP = 1 , SQFS_COMP_LZMA = 2 , SQFS_COMP_LZO = 3 , SQFS_COMP_XZ = 4 , SQFS_COMP_LZ4 = 5 , SQFS_COMP_ZSTD = 6 , SQFS_COMP_MIN = 1 , SQFS_COMP_MAX = 6 } |
Set in sqfs_super_t to identify the compresser used by the filesystem. More... | |
enum | SQFS_SUPER_FLAGS { SQFS_FLAG_UNCOMPRESSED_INODES = 0x0001 , SQFS_FLAG_UNCOMPRESSED_DATA = 0x0002 , SQFS_FLAG_UNCOMPRESSED_FRAGMENTS = 0x0008 , SQFS_FLAG_NO_FRAGMENTS = 0x0010 , SQFS_FLAG_ALWAYS_FRAGMENTS = 0x0020 , SQFS_FLAG_NO_DUPLICATES = 0x0040 , SQFS_FLAG_EXPORTABLE = 0x0080 , SQFS_FLAG_UNCOMPRESSED_XATTRS = 0x0100 , SQFS_FLAG_NO_XATTRS = 0x0200 , SQFS_FLAG_COMPRESSOR_OPTIONS = 0x0400 , SQFS_FLAG_UNCOMPRESSED_IDS = 0x0800 } |
Flags that can be set in sqfs_super flags field. More... | |
Contains on-disk data structures, identifiers and functions for the SquashFS super block.
Definition in file super.h.
enum SQFS_COMPRESSOR |
Set in sqfs_super_t to identify the compresser used by the filesystem.
Most of the flags that can be set are informative only.
enum SQFS_SUPER_FLAGS |
Flags that can be set in sqfs_super flags field.