Man page - nfsservctl(2)

Packages contains this manual

Available languages:

en fr es pl ko ja ru ro de

Manual

nfsservctl

์ด ๋ฆ„
๋ผ ์ด ๋ธŒ ๋Ÿฌ ๋ฆฌ
์š” ์•ฝ
์„ค ๋ช…
๋ฐ˜ ํ™˜ ๊ฐ’
ํ‘œ ์ค€
์ด ๋ ฅ
์ถ” ๊ฐ€ ์ฐธ ์กฐ
๋ฒˆ ์—ญ

์ด ๋ฆ„

nfsservctl - ์ปค ๋„ ๋„ค ํŠธ ์› ํŒŒ ์ผ ์‹œ ์Šค ํ…œ (nfs)๋ฐ ๋ชฌ syscall interface.

๋ผ ์ด ๋ธŒ ๋Ÿฌ ๋ฆฌ

ํ‘œ ์ค€ C ๋ผ ์ด ๋ธŒ ๋Ÿฌ ๋ฆฌ ( libc , -lc )

์š” ์•ฝ

#include <linux/nfsd/syscall.h>

long nfsservctl(int cmd , struct nfsctl_arg * argp ,
union nfsctl_res *
resp );

์„ค ๋ช…

Note : Since Linux 3.1, this system call no longer exists. It has been replaced by a set of files in the nfsd filesystem; see nfsd (7).

/*
* These are the commands understood by nfsctl().
*/
#define NFSCTL_SVC 0 /* This is a server process. */
#define NFSCTL_ADDCLIENT 1 /* Add an NFS client. */
#define NFSCTL_DELCLIENT 2 /* Remove an NFS client. */
#define NFSCTL_EXPORT 3 /* Export a filesystem. */
#define NFSCTL_UNEXPORT 4 /* Unexport a filesystem. */
#define NFSCTL_UGIDUPDATE 5 /* Update a client's UID/GID map
(only in Linux 2.4.x and earlier). */
#define NFSCTL_GETFH 6 /* Get a file handle (used by mountd(8))
(only in Linux 2.4.x and earlier). */
struct nfsctl_arg {
int ca_version; /* safeguard */
union {
struct nfsctl_svc u_svc;
struct nfsctl_client u_client;
struct nfsctl_export u_export;
struct nfsctl_uidmap u_umap;
struct nfsctl_fhparm u_getfh;
unsigned int u_debug;
} u;
}
union nfsctl_res {
struct knfs_fh cr_getfh;
unsigned int cr_debug;
};

๋ฐ˜ ํ™˜ ๊ฐ’

On success, zero is returned. On error, -1 is returned, and errno is set to indicate the error.

ํ‘œ ์ค€

๋ฆฌ ๋ˆ… ์Šค .

์ด ๋ ฅ

Removed in Linux 3.1. Removed in glibc 2.28.

์ถ” ๊ฐ€ ์ฐธ ์กฐ

nfsd (7)

๋ฒˆ ์—ญ

์ด ๋งค ๋‰ด ์–ผ ํŽ˜ ์ด ์ง€ ์˜ ํ•œ ๊ตญ ์–ด ๋ฒˆ ์—ญ ์€ ๋‹ค ์Œ ์— ์˜ ํ•ด ํŽธ ์ง‘ ๋˜ ์—ˆ ์Šต ๋‹ˆ ๋‹ค : ASPLINUX <man@asp-linux.co.kr>

์ด ๋ฒˆ ์—ญ ์€ ๋ฌด ๋ฃŒ ๋ฌธ ์„œ ์ž… ๋‹ˆ ๋‹ค . ์ € ์ž‘ ๊ถŒ ์กฐ ๊ฑด ์— ๋Œ€ ํ•ด ์„œ ๋Š” GNU General Public License ๋ฒ„ ์ „ 3 ์ด ์ƒ ์„ ์ฝ ์œผ ์‹ญ ์‹œ ์˜ค . ์ฑ… ์ž„ ์ด ์—† ์Šต ๋‹ˆ ๋‹ค .

์ด ๋งค ๋‰ด ์–ผ ํŽ˜ ์ด ์ง€ ์˜ ๋ฒˆ ์—ญ ์— ์„œ ์˜ค ๋ฅ˜ ๋ฅผ ๋ฐœ ๊ฒฌ ํ•˜ ๋ฉด translation-team-ko@googlegroups.com ๋กœ ์ด ๋ฉ” ์ผ ์„ ๋ณด ๋‚ด ์ฃผ ์‹ญ ์‹œ ์˜ค .