#nfs #bindings #api-bindings #mount #create #memory-userspace

libnfs

libnfs bindings allow you to create nfs mounts in memory/userspace

2 releases

0.1.1 Sep 22, 2022
0.1.0 Sep 6, 2018

#1467 in Filesystem

21 downloads per month

MIT license

24KB
552 lines

libnfs Build Status

Safe NFS bindings to build NFS clients in Rust libnfs rust bindings

NFS in userspace.

Note to users: Depending on your system you may need to install some extra libraries for this to link properly. Here's what I used on ubuntu 16.04:

dpkg -l | grep -i libnfs
ii  libnfs-dev:amd64                            1.9.8-1                                      amd64        NFS client library (development files)
ii  libnfs8:amd64                               1.9.8-1                                      amd64        NFS client library (shared library)

lib.rs:

LIBNFS is a client library for accessing NFS shares over a network NFSv3 is the default but NFSv4 can be selected either by using the URL argument version=4 or programatically calling nfs_set_version(nfs, NFS_V4) before connecting to the server/share.

Dependencies

~1.5–3.5MB
~69K SLoC