#statistics #arigato

arigato

barebones Rust framework for creating and serving a 9p filesystem

3 unstable releases

Uses new Rust 2024

0.2.1 Feb 24, 2025
0.2.0 Oct 9, 2024
0.1.0 Apr 13, 2024

#367 in Filesystem

Download history 1/week @ 2024-12-04 1/week @ 2024-12-11 3/week @ 2025-02-05 18/week @ 2025-02-12 98/week @ 2025-02-19 54/week @ 2025-02-26 2/week @ 2025-03-05 1/week @ 2025-03-12

90 downloads per month

MIT license

110KB
2K SLoC

arigato!

arigato is a very barebones Rust framework for creating and serving a 9p filesystem. Running on port 564 is customary; you may need to use setcap or iptables or something to route traffic to your binary.

This currently only supports 9P2000.u; but that may change in the future. This uses nightly-only features and isn't documented. Most of this was written fairly quickly and carelessly to implement debugfs but I may keep this up to date over the next few years.

Example Usage

Given an arigato 9p server running on tcp port 5641, with a mountpoint exposed with the name foo, the following will mount it to /mnt:

$ sudo mount \
  -t 9p \
  -o trans=tcp,port=5641,version=9p2000.u,aname=foo \
  127.0.0.1 \
  /mnt

Dependencies

~3–11MB
~104K SLoC