Expand description
ArceOS filesystem module.
It provides unified filesystem operations for various filesystems.
§Cargo Features
fatfs
: Use FAT as the main filesystem and mount it on/
. This feature is enabled by default.devfs
: Mount [axfs_devfs::DeviceFileSystem
] on/dev
. This feature is enabled by default.ramfs
: Mount [axfs_ramfs::RamFileSystem
] on/tmp
. This feature is enabled by default.myfs
: Allow users to define their custom filesystems to override the default. In this case,MyFileSystemIf
is required to be implemented to create and initialize other filesystems. This feature is disabled by by default, but it will override other filesystem selection features if both are enabled.
Re-exports§
pub use root::CURRENT_DIR;
pub use root::CURRENT_DIR;
pub use root::CURRENT_DIR_PATH;
pub use root::CURRENT_DIR_PATH;
Modules§
std::fs
-like high-level filesystem manipulation operations.- Low-level filesystem operations.
Structs§
- Wrapper struct for the namespace resource
CURRENT_DIR
- Wrapper struct for the namespace resource
CURRENT_DIR_PATH
Functions§
- Initializes filesystems by block devices.