mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-10-17 22:26:26 +08:00
nfsclient: Initial addition
Will not compile until librpc is available.
This commit is contained in:
20
services/nfsclient/cexphelp.c
Normal file
20
services/nfsclient/cexphelp.c
Normal 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
|
Reference in New Issue
Block a user