- git clone https://github.com/kofemann/simple-nfs.git
- cd simple-nfs/
- mvn package
- find . -name \*.jar
- printf "/ *(rw,insecure,all_squash,anonuid=%d,anongid=%d)\n" "$(id -u)" "$(id -g)" >exports
- mkdir nfsroot
- chmod a=u nfsroot
- cat exports
- (umask 0000 ; java -jar ./target/simple-nfs-1.0-SNAPSHOT-jar-with-dependencies.jar -root "$PWD/nfsroot" -port 30000 -nfsvers 4 -exports $PWD/exports)
nfs4j/simple-nfs usage
Posted by Anonymous on Fri 19th Jan 2024 16:26
raw | new post
modification of post by Anonymous (view diff)
Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.