#filesystem #arceos #devfs

no-std ax-fs-devfs

Device filesystem used by ArceOS

6 releases

new 0.3.8 Apr 16, 2026
0.3.7 Apr 16, 2026

#114 in #arceos

Download history 55/week @ 2026-04-11

55 downloads per month
Used in 8 crates (via ax-fs)

Apache-2.0

40KB
766 lines

ax-fs-devfs

Device filesystem used by ArceOS

Crates.io Docs.rs Rust License

English | 中文

Introduction

ax-fs-devfs provides Device filesystem used by ArceOS. It is maintained as part of the TGOSKits component set and is intended for Rust projects that integrate with ArceOS, AxVisor, or related low-level systems software.

ax-fs-devfs was derived from https://github.com/arceos-org/axfs_crates

Quick Start

Installation

Add this crate to your Cargo.toml:

[dependencies]
ax-fs-devfs = "0.3.2"

Run Check and Test

# Enter the crate directory
cd components/axfs_crates/axfs_devfs

# Format code
cargo fmt --all

# Run clippy
cargo clippy --all-targets --all-features

# Run tests
cargo test --all-features

# Build documentation
cargo doc --no-deps

Integration

Example

use ax_fs_devfs as _;

fn main() {
    // Integrate `ax-fs-devfs` into your project here.
}

Documentation

Generate and view API documentation:

cargo doc --no-deps --open

Online documentation: docs.rs/ax-fs-devfs

Contributing

  1. Fork the repository and create a branch
  2. Run local format and checks
  3. Run local tests relevant to this crate
  4. Submit a PR and ensure CI passes

License

Licensed under the Apache License, Version 2.0. See LICENSE for details.

Dependencies

~0.4–0.9MB
~19K SLoC