X-Git-Url: https://git.piment-noir.org/?p=deb_libnfs.git;a=blobdiff_plain;f=README;h=701a781cd46e06af65106ea7453ead114825dc29;hp=f717c07deb7f1a21007d18037c95859e81feb88d;hb=HEAD;hpb=fb6f315257a8752c3a8b96a71261a5613a6f2069 diff --git a/README b/README index f717c07..701a781 100644 --- a/README +++ b/README @@ -28,7 +28,7 @@ URL-FORMAT: Libnfs uses RFC2224 style URLs extended with libnfs specific url arguments some minor extensions. The basic syntax of these URLs is : -nfs:///path[?arg=val[&arg=val]*] +nfs:///path[?arg=val[&arg=val]*] Arguments supported by libnfs are : tcp-syncnt= : Number of SYNs to send during the session establish @@ -62,6 +62,14 @@ This is highly non-portable so IF this works on your linux system, count yourself lucky. +DOCUMENTATION +============= +libnfs sources ship with prebuilt manpage(s) in the doc directory. +If you change the manpage sources you need to manually regenerate the new +manpages by running + cd doc + make doc + FUSE ==== A simple FUSE filesystem built on libnfs can be found in @@ -86,9 +94,29 @@ Android: AROS: - Build with 'make -f aros/Makefile.AROS' +LD_PRELOAD +========== +examples/ld_nfs.c contains a LD_PRELOADable module that can be used to make +several standard utilities nfs aware. +It is still very incomplete but can be used for basic things such as cat and cp. +Patches to add more coverage is welcome. + +Compile with : +gcc -fPIC -shared -o ld_nfs.so examples/ld_nfs.c -ldl -lnfs + +Then try things like +LD_NFS_DEBUG=9 LD_PRELOAD=./ld_nfs.so cat nfs://127.0.0.1/data/tmp/foo123 + +LD_NFS_DEBUG=9 LD_PRELOAD=./ld_nfs.so cp nfs://127.0.0.1/data/tmp/foo123 nfs://127.0.0.1/data/tmp/foo123.copy + +This is just a toy preload module. Don't open bugs if it does not work. Send +patches to make it better instead. + + RELEASE TARBALLS ================ -Release tarballs are available at https://sites.google.com/site/libnfstarballs/li +Release tarballs are available at +https://sites.google.com/site/libnfstarballs/li