nfsclient: Initial addition

Will not compile until librpc is available.
This commit is contained in:
Joel Sherrill
2012-08-03 14:21:13 -05:00
parent 20ec9e6659
commit 8f59c0aea7
22 changed files with 11640 additions and 0 deletions

View File

@@ -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