diff options
author | Joel Sherrill <joel.sherrill@oarcorp.com> | 2012-08-03 14:21:13 -0500 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@oarcorp.com> | 2012-08-03 14:21:13 -0500 |
commit | 8f59c0aea7467a0dcfcf46138c3d1a422cb339fd (patch) | |
tree | 779a3e1b57c502fad517f839148aad4dde849bf2 /services/nfsclient/cexphelp.c | |
parent | librpc: Initial addition (diff) | |
download | rtems-libbsd-8f59c0aea7467a0dcfcf46138c3d1a422cb339fd.tar.bz2 |
nfsclient: Initial addition
Will not compile until librpc is available.
Diffstat (limited to 'services/nfsclient/cexphelp.c')
-rw-r--r-- | services/nfsclient/cexphelp.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/services/nfsclient/cexphelp.c b/services/nfsclient/cexphelp.c new file mode 100644 index 00000000..d0406ad3 --- /dev/null +++ b/services/nfsclient/cexphelp.c @@ -0,0 +1,20 @@ +#if HAVE_CONFIG_H +#include "config.h" +#endif + +#include <librtemsNfs.h> +#include <cexpHelp.h> +CEXP_HELP_TAB_BEGIN(rtemsNfs) + HELP( +"Mount a remote filesystem (NFS). The mount point (must not be a NFS dir)\n" +"is created on the fly if not existing already.\n" +"uid/gid to use may be specified:\n" +" hostspec: [uid.gid@]hostname_or_ipaddr\n" + , int, nfsMount, (char *hostspec, char *exportdir, char *mntpoint) + ), + HELP( +"Print all currently mounted NFS directories to open file handle.\n" +"Pass f = 0 to print to stdout\n" + , int, nfsMountsShow, (FILE *f) + ), +CEXP_HELP_TAB_END |