{"id":13559279,"url":"https://github.com/pfpacket/rust-9p","last_synced_at":"2025-04-03T14:31:50.939Z","repository":{"id":7859620,"uuid":"37752725","full_name":"pfpacket/rust-9p","owner":"pfpacket","description":"Tokio-based asynchronous filesystems library using 9P2000.L protocol, an extended variant of 9P from Plan 9.","archived":false,"fork":false,"pushed_at":"2024-04-11T21:29:35.000Z","size":13738,"stargazers_count":122,"open_issues_count":14,"forks_count":17,"subscribers_count":9,"default_branch":"master","last_synced_at":"2024-08-01T13:16:34.488Z","etag":null,"topics":["9p","9p2000","9pfs","fileserver","filesystem-library","linux","plan9","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pfpacket.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-06-20T00:54:31.000Z","updated_at":"2024-06-03T10:04:08.000Z","dependencies_parsed_at":"2024-08-01T13:15:22.879Z","dependency_job_id":"7a2e28fe-5d3f-4fd8-811d-a6679643bca1","html_url":"https://github.com/pfpacket/rust-9p","commit_stats":{"total_commits":120,"total_committers":6,"mean_commits":20.0,"dds":0.07499999999999996,"last_synced_commit":"bf021eb876d5a43b8b26ffd6f3a3e240e1ad6d79"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pfpacket%2Frust-9p","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pfpacket%2Frust-9p/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pfpacket%2Frust-9p/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pfpacket%2Frust-9p/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pfpacket","download_url":"https://codeload.github.com/pfpacket/rust-9p/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":222978435,"owners_count":17067522,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["9p","9p2000","9pfs","fileserver","filesystem-library","linux","plan9","rust"],"created_at":"2024-08-01T13:00:16.806Z","updated_at":"2024-11-04T10:31:23.187Z","avatar_url":"https://github.com/pfpacket.png","language":"Rust","funding_links":[],"categories":["Libraries","Rust","rust"],"sub_categories":["Rust"],"readme":"rust-9p\n=====\nTokio-based asynchronous filesystems library using 9P2000.L protocol, an extended variant of 9P from Plan 9.\n\n[![Build Status](https://travis-ci.org/pfpacket/rust-9p.svg?branch=master)](https://travis-ci.org/pfpacket/rust-9p)\n\n[Documentation](https://pfpacket.github.io/rust-9p/rs9p/index.html)\n\n\n## Build\nUse Rust nightly.\n\n\n## Usage\nAdd the following to your crate:\n\n```rust\nextern crate rs9p;\n```\n\n\n## unpfs\n`unpfs` is the reference implementation of a file server which exports your filesystem.\nYou can build unpfs with the following commands below:\n\n```bash\ncd example/unpfs/\ncargo build --verbose --release\n```\nand run unpfs with the following command to export `/exportdir`:\n\n```bash\n# TCP\ncargo run --release 'tcp!0.0.0.0!564' /exportdir\n# or\n./target/release/unpfs 'tcp!0.0.0.0!564' /exportdir\n\n# Unix domain socket:\n#  port number is a suffix to the unix domain socket\n#  'unix!/tmp/unpfs-socket!n' creates `/tmp/unpfs-socket:n`\ncargo run --release 'unix!/tmp/unpfs-socket!0' /exportdir\n```\nYou are now ready to import/mount the remote filesystem.\nLet's mount it at `/mountdir`:\n\n```bash\n# TCP\nsudo mount -t 9p -o version=9p2000.L,trans=tcp,port=564,uname=$USER 127.0.0.1 /mountdir\n# Unix domain socket\nsudo mount -t 9p -o version=9p2000.L,trans=unix,uname=$USER /tmp/unpfs-socket:0 /mountdir\n```\n\n| Mount option | Value |\n|---|---|\n| version | must be \"9p2000.L\" |\n| trans | an alternative v9fs transport. \"tcp\" or \"unix\" |\n| port | port to connect to on the remote server |\n| uname | user name to attempt mount as on the remote server |\n\nSee [v9fs documentation](https://www.kernel.org/doc/Documentation/filesystems/9p.txt) for more details.\n\n\n## License\nrust-9p is distributed under the BSD 3-Clause License.\nSee LICENSE for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpfpacket%2Frust-9p","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpfpacket%2Frust-9p","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpfpacket%2Frust-9p/lists"}