Code Monkey home page Code Monkey logo

nfs-autoshare's Introduction

IN DEVELOPMENT - LIKELY TO BE BUGGY

nfs-autoshare

Zero-config sharing of NFS exports

what is this?

NFS shares are kind of a pain to set up on the client-side. This project seeks to make that easier. Any NFS shares will be advertised to the appropriate network range, and any machine running nfs-autoshare will keep a record of shares it's seen recently. For easy mounting of nfs shares, just run nfs-autoshare-client and select the share you want to mount and where to mount it.

how do I use it?

Follow the build instructions below (or install from a package when I get around to that). Install it on every machine that has NFS shares exported or wants to use those NFS shares. Wait a few seconds for the advertisements to populate - shouldn't take more than 20 seconds. run nfs-autoshare-client and follow the simple on-screen instructions.

It should look like this:

you@your-pc:~$ sudo nfs-autoshare-client
Available shares:
[0]: /mnt/Storage on 192.168.200.7
Enter the number of the share you want to mount:
0
Where would you like to mount /mnt/Storage on 192.168.200.7? (/media/192.168.200.7/mnt/Storage): 

Mounting /mnt/Storage on 192.168.200.7 to /media/192.168.200.7/mnt/Storage

build instructions

install cargo for your distribution. For debian you'd do this:

sudo apt install cargo

then clone the repo

git clone https://github.com/amylizzle/nfs-autoshare.git

change to the directory

cd nfs-autoshare

and run the build script

./build.sh

finally, run the install script to add the binaries to sbin and set up the systemd service

./install.sh

nfs-autoshare's People

Contributors

amylizzle avatar

Watchers

 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.