1 /* 2 * Copyright (c) 1990 Jan-Simon Pendry 3 * Copyright (c) 1990 Imperial College of Science, Technology & Medicine 4 * Copyright (c) 1990, 1993 5 * The Regents of the University of California. All rights reserved. 6 * 7 * This code is derived from software contributed to Berkeley by 8 * Jan-Simon Pendry at Imperial College, London. 9 * 10 * %sccs.include.redist.c% 11 * 12 * @(#)misc-stellix.h 8.1 (Berkeley) 06/06/93 13 * 14 */ 15 16 #include <sys/fstyp.h> 17 18 struct ufs_args { 19 char *fspec; 20 }; 21 22 struct nfs_args { 23 struct sockaddr_in *addr; /* file server address */ 24 fhandle_t *fh; /* File handle to be mounted */ 25 int flags; /* flags */ 26 int wsize; /* write size in bytes */ 27 int rsize; /* read size in bytes */ 28 int timeo; /* initial timeout in .1 secs * 29 / 30 int retrans; /* times to retry send */ 31 char *hostname; /* server's name */ 32 }; 33 #define NFSMNT_SOFT 0x001 /* soft mount (hard is default) */ 34 #define NFSMNT_WSIZE 0x002 /* set write size */ 35 #define NFSMNT_RSIZE 0x004 /* set read size */ 36 #define NFSMNT_TIMEO 0x008 /* set initial timeout (= 1.6 sec) */ 37 #define NFSMNT_RETRANS 0x010 /* set number of request retrys */ 38 #define NFSMNT_HOSTNAME 0x020 /* set hostname for error printf */ 39 #define NFSMNT_INT 0x040 /* allow interrupts on hard mount */ 40