X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=doc%2Fnfs-ls.1.xml;fp=doc%2Fnfs-ls.1.xml;h=93293695bd356d3d1be7e8d94c3a7a7cb0301911;hb=f1f22dbf6222c4899b45d9c83ccf1b6314464869;hp=0000000000000000000000000000000000000000;hpb=ee872606f1e484f684276ec595f1e39d1f95b9a9;p=deb_libnfs.git diff --git a/doc/nfs-ls.1.xml b/doc/nfs-ls.1.xml new file mode 100644 index 0000000..9329369 --- /dev/null +++ b/doc/nfs-ls.1.xml @@ -0,0 +1,126 @@ + + + + + nfs-ls + 1 + nfs-ls + nfs-ls: list servers, exports and directories + + + + + nfs-ls + Utility to list NFS servers, exports and directories + + + + + nfs-ls [ OPTIONS ] <NFS-URL> + + + + nfs-ls + -R --recursive + -s --summary + -D --discovery + -? --help + --usage + + + + + DESCRIPTION + + nfs-ls is a utility to list NFS servers, exports or directories. + + + Example: List the content of a directory on the NFS server + +$ nfs-ls nfs://127.0.0.1/data/tmp +-rwxrwxr-x 1 1000 1000 1190802 a.out +-rwxr-xr-x 1 1000 1000 13 foo123.copy +-rwxrwxrwx 1 1000 1000 8 foo123.writtenx + + + + + + OPTIONS + + + + -s --summary + + + Print a summary line at the end of output. + + + + + -R --recursive + + + Recursive listing of the specified URL. + + + + + -D --discovery; + + + This option is used to discover local NFS servers and to list + the exports for specific servers. + + + When used with the 'nfs://' URL the command will try to + detect all local NFS servers and will list their IPs. + + + When used with a 'nfs://server' the command will + list all the exports on the specified server. + + + Example: Discover and list all local NFS servers + +$ nfs-ls -D nfs:// +nfs://10.10.10.10 +nfs://10.0.0.10 + + + Example: List the exports for a server + +$ nfs-ls -D nfs://10.10.10.10 +nfs://10.10.10.10/foo +nfs://10.10.10.10/bar + + + + + + -? --help + + + Display basic help text. + + + + + --usage + + + Display basic usage text. + + + + + + + + SEE ALSO + + + + + +