Expand description
EROFS filesystem.
Modules§
- format
- Raw on-disk format structs for erofs. See https://erofs.docs.kernel.org/en/latest/ondisk/core_ondisk.html for more details.
- readers
Structs§
- Compact
Entry - Position and layout information for a compact logical cluster index entry on disk.
- Compact
Pack - An on-disk compact logical cluster index pack.
- Compact
Pack Entry - An individual entry decoded from a compact logical cluster index pack.
- Compression
Advise - Flags for various compression behaviors, stored per-inode in the compression header when the CompressedFull or CompressedCompact data layout are used.
- Compression
Header - Directory
Entry - A directory entry in the EROFS image.
- Directory
Node - A directory node in the EROFS image.
- Erofs
Filesystem - The filesystem implementation for an EROFS image.
- Feature
Compat - Feature
Incompat - File
Node - A file node in the EROFS image.
- Inode
Format - The format of the inode, containing the version and data layout.
- LCluster
Head - A head lcluster is one where the data for a particular extent starts. The logical data
potentially starts at an unaligned address within this lcluster, described by
[
extent_start_offset]. - Node
Inner - Symlink
Node - A symbolic link node in the EROFS image.
- Xattr
Entry Header - A parsed representation of an EROFS xattr entry record header.
- Xattr
Iterator - An iterator over xattr entry headers for an inode.
Enums§
- Compact
Pack Layout - The layout and geometry of a compact logical cluster index pack.
- Erofs
Error - Errors that can occur while interacting with an EROFS image.
- File
Type - File type for a directory entry.
- Inode
Data Layout - The layout of the data portion of the inode.
- Inode
Version - The version of the on-disk format of the inode. Can be either 32-byte compact or 64-byte extended.
- LCluster
Entry - An entry describing a single logical cluster, which most often corresponds with a single logical, uncompressed block. These entries build a map for where to find the data in the compressed physical blocks.
- LCluster
Type - Node
- A node in the EROFS image.
- Parsing
Error - Errors that can occur during parsing of an EROFS image.
Constants§
- COMPACT_
ENTRY_ LOBITS - The bit width of the low value field in compact cluster index entries (clusterofs / delta0). This is fixed at 12 bits for supported block sizes (512B to 4KB).