1 <?xml version=
"1.0" encoding=
"iso-8859-1"?>
2 <refentry id=
"nfs-ls.1">
5 <refentrytitle>nfs-ls
</refentrytitle>
6 <manvolnum>1</manvolnum>
7 <refmiscinfo class=
"source">nfs-ls
</refmiscinfo>
8 <refmiscinfo class=
"manual">nfs-ls: list servers, exports and directories
</refmiscinfo>
13 <refname>nfs-ls
</refname>
14 <refpurpose>Utility to list NFS servers, exports and directories
</refpurpose>
19 <command>nfs-ls [ OPTIONS ]
<NFS-URL
></command>
23 <command>nfs-ls
</command>
24 <arg choice=
"opt">-R --recursive
</arg>
25 <arg choice=
"opt">-s --summary
</arg>
26 <arg choice=
"opt">-D --discovery
</arg>
27 <arg choice=
"opt">-? --help
</arg>
28 <arg choice=
"opt">--usage
</arg>
33 <refsect1><title>DESCRIPTION
</title>
35 nfs-ls is a utility to list NFS servers, exports or directories.
38 Example: List the content of a directory on the NFS server
39 <screen format=
"linespecific">
40 $ nfs-ls nfs://
127.0.0.1/data/tmp
41 -rwxrwxr-x
1 1000 1000 1190802 a.out
42 -rwxr-xr-x
1 1000 1000 13 foo123.copy
43 -rwxrwxrwx
1 1000 1000 8 foo123.writtenx
49 <title>OPTIONS
</title>
53 <varlistentry><term>-s --summary
</term>
56 Print a summary line at the end of output.
61 <varlistentry><term>-R --recursive
</term>
64 Recursive listing of the specified URL.
69 <varlistentry><term>-D --discovery;
</term>
72 This option is used to discover local NFS servers and to list
73 the exports for specific servers.
76 When used with the 'nfs://' URL the command will try to
77 detect all local NFS servers and will list their IPs.
80 When used with a 'nfs://server' the command will
81 list all the exports on the specified server.
84 Example: Discover and list all local NFS servers
85 <screen format=
"linespecific">
91 Example: List the exports for a server
92 <screen format=
"linespecific">
93 $ nfs-ls -D nfs://
10.10.10.10
101 <varlistentry><term>-? --help
</term>
104 Display basic help text.
109 <varlistentry><term>--usage
</term>
112 Display basic usage text.
120 <refsect1><title>SEE ALSO
</title>
122 <ulink url=
"http://github.com/sahlberg/libnfs"/>