DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH
 

nfs_svc(NS)


nfs_svc, async_daemons -- NFS daemons

Syntax

nfs_svc(tep, addr, tsdu, buf)
int tep;
int addr;
int tsdu;
char *buf;

async_daemon()

Description

These two system calls allow kernel processes to have a user context.

nfs_svc starts an NFS daemon listening on the transport endpoint tep. This transport endpoint is typically the file descriptor returned from a call to t_open(). Currently, the transport endpoint must be AF_INET and SOCK_DGRAM (protocol UDP/IP), but this is completely dependent on the local network transport implementation. In addition, the transport endpoint should be bound to the NFS internet port, 2049. addr is the maximum size of a remote address that the transport can handle. tsdu is the maximum transport service data unit that the transport can handle. buf should be the address of a buffer of size NFS_MAXDATA (currently 8192 bytes) inside of the user level process. This buffer is used by the local file system getdents() implementation. The system call will return only if the process is killed.

async_daemon implements the NFS daemon that handles asynchronous I/O for an NFS client. The system call will return only if the process is killed.

See also

nfsd(NADM)
© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003