Skip to main content

Crate erofs

Crate erofs 

Source
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§

CompactEntry
Position and layout information for a compact logical cluster index entry on disk.
CompactPack
An on-disk compact logical cluster index pack.
CompactPackEntry
An individual entry decoded from a compact logical cluster index pack.
CompressionAdvise
Flags for various compression behaviors, stored per-inode in the compression header when the CompressedFull or CompressedCompact data layout are used.
CompressionHeader
DirectoryEntry
A directory entry in the EROFS image.
DirectoryNode
A directory node in the EROFS image.
ErofsFilesystem
The filesystem implementation for an EROFS image.
FeatureCompat
FeatureIncompat
FileNode
A file node in the EROFS image.
InodeFormat
The format of the inode, containing the version and data layout.
LClusterHead
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].
NodeInner
SymlinkNode
A symbolic link node in the EROFS image.
XattrEntryHeader
A parsed representation of an EROFS xattr entry record header.
XattrIterator
An iterator over xattr entry headers for an inode.

Enums§

CompactPackLayout
The layout and geometry of a compact logical cluster index pack.
ErofsError
Errors that can occur while interacting with an EROFS image.
FileType
File type for a directory entry.
InodeDataLayout
The layout of the data portion of the inode.
InodeVersion
The version of the on-disk format of the inode. Can be either 32-byte compact or 64-byte extended.
LClusterEntry
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.
LClusterType
Node
A node in the EROFS image.
ParsingError
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).