A simple utility for manipulating xv6-riscv file system images
this is a partial re-implementation of titech-os/opfs by Rust.
- Rust stable 1.38.0 or later is recommended.
libc
support is required.
cd opfs
cargo build --release
target/release/opfs
is a target binary.
Another way to run:
cargo run --release
This command builds project then run the product.
The produced binary will be placed in target/release
as same.
If you use this, options should be written after --
.
e.g.) cargo run --release -- ./fs.img ls /
opfs img_file command [args]
img_file
is a path to image file to manipulate.
currently no command is implemented.