Expand description
§ext4_backend
ext4 文件系统的核心实现模块,提供对 ext4 文件系统的底层操作支持。
该模块包含文件系统的主要组件:
- 文件系统挂载和卸载(api, ext4)
- 块设备管理和缓存(blockdev, loopfile)
- 块组管理和位图操作(blockgroup_description, bitmap, bitmap_cache)
- 文件和目录操作(file, dir, entries)
- 数据结构管理(superblock, inodetable_cache, datablock_cache)
- 辅助工具和配置(tool, config, endian)
- 日志系统(jbd2)
Re-exports§
pub use config::BITMAP_CACHE_MAX;pub use config::BLOCK_SIZE;pub use config::BLOCK_SIZE_U32;pub use config::DATABLOCK_CACHE_MAX;pub use config::DEFAULT_FEATURE_COMPAT;pub use config::DEFAULT_FEATURE_INCOMPAT;pub use config::DEFAULT_FEATURE_RO_COMPAT;pub use config::DEFAULT_INODE_SIZE;pub use config::DIRNAME_LEN;pub use config::EXT4_MAJOR_VERSION;pub use config::EXT4_MINOR_VERSION;pub use config::EXT4_SUPER_MAGIC;pub use config::GROUP_DESC_SIZE;pub use config::GROUP_DESC_SIZE_OLD;pub use config::INODE_CACHE_MAX;pub use config::JBD2_BUFFER_MAX;pub use config::LOG_BLOCK_SIZE;pub use config::RESERVED_GDT_BLOCKS;pub use config::RESERVED_INODES;pub use config::SUPERBLOCK_OFFSET;pub use config::SUPERBLOCK_SIZE;pub use error::Ext4Result;pub use error::RSEXT4Error;pub use api::lseek;pub use api::open;pub use api::read_at;pub use api::write_at;pub use blockdev::BlockDevice;pub use blockdev::Jbd2Dev;pub use dir::mkdir;pub use ext4::Ext4FileSystem;pub use ext4::find_file;pub use ext4::mkfs;pub use ext4::mount;pub use ext4::umount;pub use file::create_symbol_link;pub use file::delete_dir;pub use file::delete_file;pub use file::link;pub use file::mkfile;pub use file::mv;pub use file::read_file;pub use file::rename;pub use file::truncate;pub use file::unlink;pub use file::write_file;
Modules§
- api
- ext4 API
- bitmap
- 位图操作模块
- bitmap_
cache - 位图缓存模块
- blockdev
- 块设备实现
- blockgroup_
description - 块组描述符模块
- bmalloc
- 位图分配器模块
- config
- 配置常量定义
- datablock_
cache - 数据块缓存模块
- dir
- 目录操作模块
- disknode
- 磁盘节点模块
- endian
- 字节序转换辅助模块
- entries
- 目录条目模块
- error
- 错误处理模块
- ext4
- Ext4 文件系统主调用入口
- extents_
tree - Extents 树模块
- file
- 文件操作模块
- hashtree
- 目录条目 HashTree 实现
- inodetable_
cache - Inode表缓存模块
- jbd2
- JBD2 日志系统模块
- loopfile
- 文件遍历和操作模块
- superblock
- 超级块实现模块
- tool
- 工具函数模块