1 /*
2  * CDDL HEADER START
3  *
4  * The contents of this file are subject to the terms of the
5  * Common Development and Distribution License, Version 1.0 only
6  * (the "License").  You may not use this file except in compliance
7  * with the License.
8  *
9  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10  * or http://www.opensolaris.org/os/licensing.
11  * See the License for the specific language governing permissions
12  * and limitations under the License.
13  *
14  * When distributing Covered Code, include this CDDL HEADER in each
15  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16  * If applicable, add the following below this CDDL HEADER, with the
17  * fields enclosed by brackets "[]" replaced with your own identifying
18  * information: Portions Copyright [yyyy] [name of copyright owner]
19  *
20  * CDDL HEADER END
21  */
22 /*
23  * Copyright 2003 Sun Microsystems, Inc.  All rights reserved.
24  * Use is subject to license terms.
25  */
26 
27 #ifndef	_NFS_MOUNT_ATTR_H
28 #define	_NFS_MOUNT_ATTR_H
29 
30 #pragma ident	"%Z%%M%	%I%	%E% SMI"
31 
32 #ifdef __cplusplus
33 extern "C" {
34 #endif
35 
36 /*
37  * Public data type declarations
38  */
39 
40 /*
41  * NFS mount attributes
42  */
43 
44 #define	NFS_ATTRCACHE_FALSE "noac"
45 #define	NFS_ATTRCACHEDIRMAX "acdirmax="
46 #define	NFS_ATTRCACHEDIRMIN "acdirmin="
47 #define	NFS_ATTRCACHEFILESMAX "acregmax="
48 #define	NFS_ATTRCACHEFILESMIN "acregmin="
49 #define	NFS_ENABLEQUOTA_TRUE "quota"
50 #define	NFS_ENABLEQUOTA_FALSE "noquota"
51 #define	NFS_FORCEDIRECTIO_TRUE "forcedirectio"
52 #define	NFS_FORCEDIRECTIO_FALSE "noforcedirectio"
53 #define	NFS_GRPID_TRUE "grpid"
54 #define	NFS_HARDMNT_TRUE "hard"
55 #define	NFS_HARDMNT_FALSE "soft"
56 #define	NFS_INTR_TRUE "intr"
57 #define	NFS_INTR_FALSE "nointr"
58 #define	NFS_MAXRETRANSATTEMPTS "retrans="
59 #define	NFS_MNTFAILRETRIES "retry="
60 #define	NFS_NOCTO_TRUE "nocto"
61 #define	NFS_NOMNTTABENT_TRUE "-m"
62 #define	NFS_NOSUID_FALSE "suid"
63 #define	NFS_NOSUID_TRUE "nosuid"
64 #define	NFS_OVERLAY "-O"
65 #define	NFS_POSIX_TRUE "posix"
66 #define	NFS_PROTO "proto="
67 #define	NFS_PUBLIC_TRUE "public"
68 #define	NFS_READBUFFSIZE "rsize="
69 #define	NFS_READONLY_TRUE "ro"
70 #define	NFS_READONLY_FALSE "rw"
71 #define	NFS_RETRANSTIMEO "timeo="
72 #define	NFS_FOREGROUND_TRUE "fg"
73 #define	NFS_FOREGROUND_FALSE "bg"
74 #define	NFS_SECMODE "sec="
75 #define	NFS_SERVERCOMMPORT "port="
76 #define	NFS_VERS "vers="
77 #define	NFS_WRITEBUFFSIZE "wsize="
78 #define	NFS_XATTR_TRUE "xattr"
79 #define	NFS_XATTR_FALSE "noxattr"
80 
81 #ifdef __cplusplus
82 }
83 #endif
84 
85 #endif /* _NFS_MOUNT_ATTR_H */
86