144630Smckusick /*
244630Smckusick  * Copyright (c) 1990 Jan-Simon Pendry
344630Smckusick  * Copyright (c) 1990 Imperial College of Science, Technology & Medicine
4*61784Sbostic  * Copyright (c) 1990, 1993
5*61784Sbostic  *	The Regents of the University of California.  All rights reserved.
644630Smckusick  *
744630Smckusick  * This code is derived from software contributed to Berkeley by
844630Smckusick  * Jan-Simon Pendry at Imperial College, London.
944630Smckusick  *
1044630Smckusick  * %sccs.include.redist.c%
1144630Smckusick  *
12*61784Sbostic  *	@(#)misc-aix3.h	8.1 (Berkeley) 06/06/93
1349685Spendry  *
1452452Spendry  * $Id: misc-aix3.h,v 5.2.2.1 1992/02/09 15:10:05 jsp beta $
1549685Spendry  *
1644630Smckusick  */
1744630Smckusick 
1844630Smckusick struct ufs_args {
1944630Smckusick 	char	*fspec;				/* Block device */
2044630Smckusick };
2144630Smckusick 
2244630Smckusick struct nfs_args {
2344630Smckusick 	struct sockaddr_in	addr;		/* file server address */
2444630Smckusick 	fhandle_t		fh;		/* File handle to be mounted */
2544630Smckusick 	int			flags;		/* flags */
2644630Smckusick 	int			wsize;		/* write size in bytes */
2744630Smckusick 	int			rsize;		/* read size in bytes */
2844630Smckusick 	int			timeo;		/* initial timeout in .1 secs */
2944630Smckusick 	int			retrans;	/* times to retry send */
3044630Smckusick 	char			*hostname;	/* server's hostname */
3144630Smckusick 	int			acregmin;	/* attr cache file min secs */
3244630Smckusick 	int			acregmax;	/* attr cache file max secs */
3344630Smckusick 	int			acdirmin;	/* attr cache dir min secs */
3444630Smckusick 	int			acdirmax;	/* attr cache dir max secs */
3544630Smckusick 	char			*netname;	/* server's netname */
3644630Smckusick 	int			biods;		/* number of BIODS */
3744630Smckusick };
3844630Smckusick 
3944630Smckusick /*
4044630Smckusick  * NFS mount option flags
4144630Smckusick  */
4244630Smckusick #define	MNTOPT_RO	"ro"	/* read only */
4344630Smckusick #define	MNTOPT_RW	"rw"	/* read/write */
4444630Smckusick #define	MNTOPT_SOFT	"soft"	/* soft mount */
4544630Smckusick #define	MNTOPT_HARD	"hard"	/* hard mount */
4644630Smckusick #define	MNTOPT_NOSUID	"nosuid"/* no set uid allowed */
4744630Smckusick #define	MNTOPT_NOAUTO	"noauto"/* hide entry from mount -a */
4844630Smckusick #define	MNTOPT_INTR	"intr"	/* allow interrupts on hard mount */
4944630Smckusick #define MNTOPT_SECURE 	"secure"/* use secure RPC for NFS */
5044630Smckusick #define MNTOPT_GRPID 	"grpid"	/* SysV-compatible group-id on create */
5144630Smckusick #define MNTOPT_NOSUB	"nosub"  /* disallow mounts beneath this one */
5244630Smckusick #define MNTOPT_MULTI	"multi"  /* Do multi-component lookup */
5344630Smckusick #define MNTOPT_NOAC 	"noac"   /* don't cache attributes */
5444630Smckusick 
5544630Smckusick #define NFSMNT_SOFT	0x001	/* soft mount (hard is default) */
5644630Smckusick #define NFSMNT_WSIZE	0x002	/* set write size */
5744630Smckusick #define NFSMNT_RSIZE	0x004	/* set read size */
5844630Smckusick #define NFSMNT_TIMEO	0x008	/* set initial timeout */
5944630Smckusick #define NFSMNT_RETRANS	0x010	/* set number of request retrys */
6044630Smckusick #define NFSMNT_HOSTNAME	0x020	/* set hostname for error printf */
6144630Smckusick #define NFSMNT_INT	0x040	/* allow interrupts on hard mount */
6244630Smckusick #define	NFSMNT_NOAC	0x080	/* don't cache attributes */
6344630Smckusick #define	NFSMNT_ACREGMIN	0x0100	/* set min secs for file attr cache */
6444630Smckusick #define	NFSMNT_ACREGMAX	0x0200	/* set max secs for file attr cache */
6544630Smckusick #define	NFSMNT_ACDIRMIN	0x0400	/* set min secs for dir attr cache */
6644630Smckusick #define	NFSMNT_ACDIRMAX	0x0800	/* set max secs for dir attr cache */
6744630Smckusick #define NFSMNT_SECURE	0x1000	/* secure mount */
6844630Smckusick #define NFSMNT_BIODS	0x10000	/* Number of biods for the file system */
6944630Smckusick 
7044630Smckusick #define DEF_BIODS	6
71