home *** CD-ROM | disk | FTP | other *** search
- /*
- * $Header: /ax/networking:include/sys/mount.h:networking 1.1 $
- * $Source: /ax/networking:include/sys/mount.h: $
- *
- * Copyright (c) 1988 Acorn Computers Ltd., Cambridge, England
- *
- * $Log: mount.h,v $
- * Revision 1.1 95/01/11 10:19:23 kwelton
- * Initial revision
- *
- * Revision 1.3 88/06/17 20:19:49 beta
- * Acorn Unix initial beta version
- *
- */
- /* @(#)mount.h 1.3 87/05/29 3.2/4.3NFSSRC */
- /*
- * Copyright (c) 1982, 1986 Regents of the University of California.
- * All rights reserved. The Berkeley software License Agreement
- * specifies the terms and conditions for redistribution.
- *
- * @(#)mount.h 7.1 (Berkeley) 6/4/86
- */
- #define M_RDONLY 0x01 /* mount fs read only */
- #define M_NOSUID 0x02 /* mount fs with setuid not allowed */
-
- /*
- * File system types, these corespond to entries in fsconf
- */
- #define MOUNT_UFS 0
- #define MOUNT_NFS 1
- #define MOUNT_MAXTYPE 1
-
- struct ufs_args {
- char *fspec;
- };
-
- #ifdef NFS
-
- struct nfs_args {
- struct sockaddr_in *addr; /* file server address */
- 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; /* server's name */
- };
-
- /*
- * 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 */
- #define NFSMNT_INT 0x040 /* allow interrupts on hard mount */
- #endif NFS
-
- #ifdef KERNEL
- /*
- * mount filesystem type switch table
- */
- extern struct vfsops *vfssw[];
- #endif
-
- /* EOF mount.h */
-