Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/paultag/arigato
barebones Rust framework for creating and serving a 9p filesystem
https://github.com/paultag/arigato
Last synced: 2 months ago
JSON representation
barebones Rust framework for creating and serving a 9p filesystem
- Host: GitHub
- URL: https://github.com/paultag/arigato
- Owner: paultag
- License: mit
- Created: 2024-04-13T03:03:02.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-10-23T14:02:50.000Z (2 months ago)
- Last Synced: 2024-10-23T15:46:22.061Z (2 months ago)
- Language: Rust
- Size: 96.7 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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
```