Crates.io | arigato |
lib.rs | arigato |
version | 0.2.0 |
source | src |
created_at | 2024-04-13 03:04:46.364968 |
updated_at | 2024-10-09 14:39:13.439582 |
description | barebones Rust framework for creating and serving a 9p filesystem |
homepage | |
repository | https://github.com/paultag/arigato |
max_upload_size | |
id | 1207338 |
size | 111,273 |
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.
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