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
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.
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]
23 * Copyright 2005 Sun Microsystems, Inc. All rights reserved.
24 * Use is subject to license terms.
26 * Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T
30 #ifndef _OPENSOLARIS_SYS_MNTENT_H_
31 #define _OPENSOLARIS_SYS_MNTENT_H_
33 #include <sys/param.h>
34 #include_next <sys/mount.h>
38 #define MNTTYPE_ZFS "zfs" /* ZFS file system */
40 #define MNTOPT_RO "ro" /* Read only */
41 #define MNTOPT_RW "rw" /* Read/write */
42 #define MNTOPT_NOSUID "nosuid" /* Neither setuid nor devices allowed */
43 #define MNTOPT_DEVICES "devices" /* Device-special allowed */
44 #define MNTOPT_NODEVICES "nodevices" /* Device-special disallowed */
45 #define MNTOPT_SETUID "setuid" /* Set uid allowed */
46 #define MNTOPT_NOSETUID "nosetuid" /* Set uid not allowed */
47 #define MNTOPT_REMOUNT "remount" /* Change mount options */
48 #define MNTOPT_ATIME "atime" /* update atime for files */
49 #define MNTOPT_NOATIME "noatime" /* do not update atime for files */
50 #define MNTOPT_XATTR "xattr" /* enable extended attributes */
51 #define MNTOPT_NOXATTR "noxattr" /* disable extended attributes */
52 #define MNTOPT_EXEC "exec" /* enable executables */
53 #define MNTOPT_NOEXEC "noexec" /* disable executables */
54 #define MNTOPT_RESTRICT "restrict" /* restricted autofs mount */
56 #endif /* !_OPENSOLARIS_MNTENT_H_ */