|
|
DataMuseum.dkPresents historical artifacts from the history of: Regnecentalen RC-900 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about Regnecentalen RC-900 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - downloadIndex: T U m
Length: 2512 (0x9d0)
Types: TextFile
Notes: UNIX file
Names: »mount.h«
└─⟦a6ab2eb36⟧ Bits:30004042/kconfig3.imd SW95705I 386/ix Multi-user Release 1.2
└─⟦a6ab2eb36⟧ UNIX Filesystem
└─⟦this⟧ »kc/new/usr/include/sys/fs/nfs/mount.h«
/*
* Copyrighted as an unpublished work.
* (c) Copyright 1988 INTERACTIVE Systems Corporation
* All rights reserved.
*
* RESTRICTED RIGHTS
*
* These programs are supplied under a license. They may be used,
* disclosed, and/or copied only as permitted under such license
* agreement. Any copy must contain the above copyright notice and
* this restricted rights notice. Use, copying, and/or disclosure
* of the programs is strictly prohibited unless otherwise provided
* in the license agreement.
*/
#ident "@(#)mount.h 1.1 - 88/04/26"
/* @(#)sufstring 3.3 System V NFS source */
/* @(#)mount.h 1.4 12/29/87 3.3 System V NFS source */
/* @(#)mount.h 3.1 LAI System V NFS Release 3.0/V3 source */
/*
* Some of this module was taken from Convergent's mount.h:
*
* Convergent Technologies - System V - Nov 1986
* #ident "@(#)mount.h 1.3 :/source/uts/common/sys/fs/nfs/s.mount.h 1/12/87 19:38:18"
* @(#)mount.h 1.1 System V NFS source
*/
/*
* Get the nfs specific hidden args to mount system call.
* From sun mount.h, Convergent modified to pass opaque addresses.
*/
struct nfs_clntargs {
char *addr_data; /* address of file server */
long addr_len; /* length of server address */
uint ralen; /* file server address length */
fhandle_t fh; /* File handle to be mounted */
int flags; /* flags */
int wsize; /* write size in bytes */
int rsize; /* read size in bytes */
int timeo; /* initial timeout in .1 secs */
int retrans; /* times to retry send */
char hostname[HOSTNAMESZ+1]; /* server name */
dev_t device; /* STREAMS device to use */
char protoname[PROTONAMESZ+1]; /* protocol name */
long maxaddr; /* maximum address length */
long maxpacket; /* maximum packet size */
};
/*
* NFS mount option flags
*/
#define NFSMNT_SOFT 0x001 /* soft mount (hard is default) */
#define NFSMNT_WSIZE 0x002 /* set write size */
#define NFSMNT_RSIZE 0x004 /* set read size */
#define NFSMNT_TIMEO 0x008 /* set initial timeout */
#define NFSMNT_RETRANS 0x010 /* set number of request retrys */
#define NFSMNT_HOSTNAME 0x020 /* set hostname for error printf */
/*
* This structure is passed in from the server side by the nfsd to
* specify various mount-related options
*
*/
struct nfs_svcargs {
int tep; /* transport end point */
char protoname[PROTONAMESZ+1]; /* protocol identification */
long maxaddr; /* maximum address length */
long maxpacket; /* maximum packet size */
};