Re: Issue in man page nfsservctl.2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Helge, Branden,

On Wed, Nov 01, 2023 at 02:02:11PM +0000, Helge Kreutzmann wrote:
> Without further ado, the following was found:
> 
> Issue:    mountd(8) → B<mountd>(8)
> "/*\n"
> " * These are the commands understood by nfsctl().\n"
> " */\n"
> "#define NFSCTL_SVC        0  /* This is a server process. */\n"
> "#define NFSCTL_ADDCLIENT  1  /* Add an NFS client. */\n"
> "#define NFSCTL_DELCLIENT  2  /* Remove an NFS client. */\n"
> "#define NFSCTL_EXPORT     3  /* Export a filesystem. */\n"
> "#define NFSCTL_UNEXPORT   4  /* Unexport a filesystem. */\n"
> "#define NFSCTL_UGIDUPDATE 5  /* Update a client\\[aq]s UID/GID map\n"
> "                                (only in Linux 2.4.x and earlier). */\n"
> "#define NFSCTL_GETFH      6  /* Get a file handle (used by mountd(8))\n"

Since Branden is going to patch these things soon, and it will likely
affect his script, I'll let him decide what to do here.

Cheers,
Alex

> "                                (only in Linux 2.4.x and earlier). */\n"
> "\\&\n"
> "struct nfsctl_arg {\n"
> "    int                       ca_version;     /* safeguard */\n"
> "    union {\n"
> "        struct nfsctl_svc     u_svc;\n"
> "        struct nfsctl_client  u_client;\n"
> "        struct nfsctl_export  u_export;\n"
> "        struct nfsctl_uidmap  u_umap;\n"
> "        struct nfsctl_fhparm  u_getfh;\n"
> "        unsigned int          u_debug;\n"
> "    } u;\n"
> "}\n"
> "\\&\n"
> "union nfsctl_res {\n"
> "        struct knfs_fh          cr_getfh;\n"
> "        unsigned int            cr_debug;\n"
> "};\n"

-- 
<https://www.alejandro-colomar.es/>

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux