Penguin
Blame: nfsservctl(2)
EditPageHistoryDiffInfoLikePages
Annotated edit history of nfsservctl(2) version 2, including all changes. View license author blame.
Rev Author # Line
1 perry 1 !!NAME
2 PerryLorier 2 nfsservctl - syscall interface to kernel nfs daemon
1 perry 3
4 !!SYNOPSIS
2 PerryLorier 5 __#include <linux/nfsd/syscall.h>__
1 perry 6
2 PerryLorier 7 __nfsservctl(int__ ''cmd''__, struct nfsctl_arg *__''argp''__, union nfsctl_res *__''resp''__);__
1 perry 8 !!DESCRIPTION
2 PerryLorier 9 /*
10 * These are the commands understood by nfsctl().
11 */
12 #define NFSCTL_SVC 0 /* This is a server process. */
13 #define NFSCTL_ADDCLIENT 1 /* Add an NFS client. */
14 #define NFSCTL_DELCLIENT 2 /* Remove an NFS client. */
15 #define NFSCTL_EXPORT 3 /* export a file system. */
16 #define NFSCTL_UNEXPORT 4 /* unexport a file system. */
17 #define NFSCTL_UGIDUPDATE 5 /* update a client's uid/gid map. */
18 #define NFSCTL_GETFH 6 /* get an fh (used by mountd) */
1 perry 19
2 PerryLorier 20 struct nfsctl_arg {
21 int ca_version; /* safeguard */
22 union {
23 struct nfsctl_svc u_svc;
24 struct nfsctl_client u_client;
25 struct nfsctl_export u_export;
26 struct nfsctl_uidmap u_umap;
27 struct nfsctl_fhparm u_getfh;
28 unsigned int u_debug;
29 } u;
30 }
1 perry 31
2 PerryLorier 32 union nfsctl_res {
33 struct knfs_fh cr_getfh;
34 unsigned int cr_debug;
35 };
1 perry 36 !!RETURN VALUE
37
2 PerryLorier 38 On success, zero is returned. On error, -1 is returned, and ''errno'' is set appropriately.
1 perry 39
40 !!CONFORMING TO
41 This call is Linux-specific.
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.

PHP Warning

lib/blame.php:177: Warning: Invalid argument supplied for foreach() (...repeated 5 times)