xecua / opfs

a Rust re-implementation of opfs (講義の課題)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

opfs

A simple utility for manipulating xv6-riscv file system images

this is a partial re-implementation of titech-os/opfs by Rust.

Installation

System requirements

  • Rust stable 1.38.0 or later is recommended.
  • libc support is required.

How to build

cd opfs
cargo build --release

target/release/opfs is a target binary.

Run

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 /

Usage

opfs img_file command [args]

img_file is a path to image file to manipulate.

currently no command is implemented.

About

a Rust re-implementation of opfs (講義の課題)


Languages

Language:Rust 100.0%