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