Giter Site home page Giter Site logo

rminnich / rust-9p Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pfpacket/rust-9p

1.0 2.0 0.0 12.3 MB

Filesystems library using 9P2000.L protocol, an extended variant of 9P from Plan 9.

License: BSD 3-Clause "New" or "Revised" License

Rust 100.00%

rust-9p's Introduction

rust-9p

Filesystems library using 9P2000.L protocol, an extended variant of 9P from Plan 9.

Build Status

Documentation

Build

Use Rust nightly.

Usage

Add this to your crate:

extern crate rs9p;

unpfs

unpfs is an example file server which just exports your filesystem. You can build unpfs with the following commands below:

cd example/unpfs/
cargo build --verbose --release

and run unpfs with the following command to export /exportdir:

cargo run --release 'tcp!0.0.0.0!564' /exportdir
# or
# ./target/release/unpfs 'tcp!0.0.0.0!564' /exportdir

You are now ready to import/mount the remote filesystem. Let's mount it at /mountdir:

sudo mount -t 9p -o version=9p2000.L,trans=tcp,port=564,uname=$USER 127.0.0.1 /mountdir
Option Name Value
version version must be 9p2000.L
trans trans must be tcp
port port number
uname user name for accessing file server

License

rust-9p is distributed under the BSD 3-Clause License.
See LICENSE for details.

rust-9p's People

Contributors

equal-l2 avatar pfpacket avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.