mntent.h revision 326328
120253Sjoerg/*
220302Sjoerg * CDDL HEADER START
320302Sjoerg *
420253Sjoerg * The contents of this file are subject to the terms of the
520253Sjoerg * Common Development and Distribution License, Version 1.0 only
620253Sjoerg * (the "License").  You may not use this file except in compliance
720253Sjoerg * with the License.
820253Sjoerg *
920302Sjoerg * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
1020253Sjoerg * or http://www.opensolaris.org/os/licensing.
1120253Sjoerg * See the License for the specific language governing permissions
1220253Sjoerg * and limitations under the License.
1320253Sjoerg *
1420302Sjoerg * When distributing Covered Code, include this CDDL HEADER in each
1520253Sjoerg * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1620253Sjoerg * If applicable, add the following below this CDDL HEADER, with the
1720302Sjoerg * fields enclosed by brackets "[]" replaced with your own identifying
1820253Sjoerg * information: Portions Copyright [yyyy] [name of copyright owner]
1920253Sjoerg *
2020253Sjoerg * CDDL HEADER END
2120253Sjoerg *
2220253Sjoerg * $FreeBSD: stable/10/sys/cddl/compat/opensolaris/sys/mntent.h 326328 2017-11-28 17:33:10Z asomers $
2320253Sjoerg */
2420253Sjoerg/*
2520253Sjoerg * Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
2620253Sjoerg * Use is subject to license terms.
2730259Scharnier *
2830259Scharnier *	Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T
2950479Speter *		All Rights Reserved
3030259Scharnier */
3130259Scharnier
3230259Scharnier#ifndef	_OPENSOLARIS_SYS_MNTENT_H_
3338112Snate#define	_OPENSOLARIS_SYS_MNTENT_H_
3461957Sache
3521330Sdavidn#include <sys/param.h>
3621330Sdavidn#include_next <sys/mount.h>
3744229Sdavidn
3820253Sjoerg#define	MNTMAXSTR	128
3956000Sdavidn
4056000Sdavidn#define	MNTTYPE_ZFS	"zfs"		/* ZFS file system */
4156000Sdavidn
4252512Sdavidn#define	MNTOPT_RO	"ro"		/* Read only */
4352512Sdavidn#define	MNTOPT_RW	"rw"		/* Read/write */
4452512Sdavidn#define	MNTOPT_NOSUID	"nosuid"	/* Neither setuid nor devices allowed */
4520253Sjoerg#define	MNTOPT_DEVICES	"devices"	/* Device-special allowed */
4620267Sjoerg#define	MNTOPT_NODEVICES	"nodevices"	/* Device-special disallowed */
4720267Sjoerg#define	MNTOPT_SETUID	"setuid"	/* Set uid allowed */
4852512Sdavidn#define	MNTOPT_NOSETUID	"nosetuid"	/* Set uid not allowed */
4920267Sjoerg#define	MNTOPT_REMOUNT	"update"	/* Change mount options */
5020267Sjoerg#define	MNTOPT_ATIME	"atime"		/* update atime for files */
5120267Sjoerg#define	MNTOPT_NOATIME  "noatime"	/* do not update atime for files */
5220267Sjoerg#define	MNTOPT_XATTR	"xattr"		/* enable extended attributes */
5352512Sdavidn#define	MNTOPT_NOXATTR	"noxattr"	/* disable extended attributes */
5420267Sjoerg#define	MNTOPT_EXEC	"exec"		/* enable executables */
5552512Sdavidn#define	MNTOPT_NOEXEC	"noexec"	/* disable executables */
5620253Sjoerg#define	MNTOPT_RESTRICT	"restrict"	/* restricted autofs mount */
5744229Sdavidn#define	MNTOPT_NBMAND	"nbmand"	/* allow non-blocking mandatory locks */
5844229Sdavidn#define	MNTOPT_NONBMAND	"nonbmand"	/* deny non-blocking mandatory locks */
5944229Sdavidn
6044229Sdavidn#endif	/* !_OPENSOLARIS_MNTENT_H_ */
6144229Sdavidn