Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

nfs_biod(2nfs) [ultrix man page]

nfs_svc(2nfs)															     nfs_svc(2nfs)

Name
       nfs_svc, nfs_biod - invoke NFS daemons

Syntax
       nfs_svc(sock)
       int sock;

       void nfs_biod()

Description
       The system call starts an NFS daemon listening on the socket referenced by the file descriptor sock.  The socket must be an AF_INET address
       format, and a SOCK_DGRAM socket type (protocol UDP/IP). This system call is used by

       If the process is killed, the system call returns the diagnostic EINTR.

       The implements the NFS daemon that handles asynchronous I/O for an NFS client.  This system call is used by Unlike this	system	call  does
       not return any diagnostics if the process is killed.

Diagnostics
       [EINTR]	      The NFS daemon, process was killed.

See Also
       socket(2), biod(8nfs), nfsd(8nfs)

																     nfs_svc(2nfs)

Check Out this Related Man Page

exportfs(2nfs)															    exportfs(2nfs)

Name
       exportfs - exports an NFS file system

Syntax
       #include <sys/mount.h>
       exportfs(name, rootuid, exflags)
       char *name;
       int rootuid, exflags;

Description
       The  system  call  allows the specified local file system to be mounted remotely by an NFS client.  This system call is usually called from
       Security on the exported file systems can be improved by setting the root mapped user ID, rootuid, and two mount structure  flags,  exflags
       for the local file system, name.

       The name argument is a pointer to a null-terminated string containing the path name of the file system being exported.

       The rootuid argument is used to set the user ID that root maps to.  By default, root maps to user id -2.

       The  exflags argument contains the flags that are to be set in the mount structure corresponding to name.  The following flags are the only
       possible flags accepted by
       #define M_NOFH	       0x1000	       /* no fhandle flag */
       #define M_EXRONLY       0x2000	       /* export read-only */

       Setting the M_NOFH flag does not allow access to the fhandle of the file system's root gnode.  The M_EXRONLY flag exports a filesystem read
       only.

       The system call returns a value of 0 upon successful completion of a operation, and -1 upon failure.

Diagnostics
       [EPERM]	      Not superuser.

       [EIO]	      Not enough memory in the system to service the request.

       [EFAULT]       Bad address or bad length of name.

       [ENOENT]       The name cannot be found.

See Also
       exports(5nfs), mountd(8nfs)

																    exportfs(2nfs)
Man Page