Provided by: manpages-ko-dev_4.27.0-1_all bug

이름

       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  로  이메일을
       보내주십시오.

Linux man-pages 6.9.1                            2024년 5월 2일                                    nfsservctl(2)