Deleted Added
full compact
mntopts.h (35105) mntopts.h (37425)
1/*-
2 * Copyright (c) 1994
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 17 unchanged lines hidden (view full) ---

26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31 * SUCH DAMAGE.
32 *
33 * @(#)mntopts.h 8.7 (Berkeley) 3/29/95
1/*-
2 * Copyright (c) 1994
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 17 unchanged lines hidden (view full) ---

26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31 * SUCH DAMAGE.
32 *
33 * @(#)mntopts.h 8.7 (Berkeley) 3/29/95
34 * $Id: mntopts.h,v 1.12 1997/11/13 00:28:48 julian Exp $
34 * $Id: mntopts.h,v 1.13 1998/04/08 18:31:17 wosch Exp $
35 */
36
37struct mntopt {
38 const char *m_option; /* option name */
35 */
36
37struct mntopt {
38 const char *m_option; /* option name */
39 int m_inverse; /* if a negative option, eg "dev" */
40 int m_flag; /* bit to set, eg. MNT_RDONLY */
39 int m_inverse; /* if a negative option, e.g. "dev" */
40 int m_flag; /* bit to set, e.g. MNT_RDONLY */
41 int m_altloc; /* 1 => set bit in altflags */
42};
43
44/* User-visible MNT_ flags. */
45#define MOPT_ASYNC { "async", 0, MNT_ASYNC, 0 }
46#define MOPT_NOATIME { "atime", 1, MNT_NOATIME, 0 }
47#define MOPT_NODEV { "dev", 1, MNT_NODEV, 0 }
48#define MOPT_NOEXEC { "exec", 1, MNT_NOEXEC, 0 }

--- 43 unchanged lines hidden ---
41 int m_altloc; /* 1 => set bit in altflags */
42};
43
44/* User-visible MNT_ flags. */
45#define MOPT_ASYNC { "async", 0, MNT_ASYNC, 0 }
46#define MOPT_NOATIME { "atime", 1, MNT_NOATIME, 0 }
47#define MOPT_NODEV { "dev", 1, MNT_NODEV, 0 }
48#define MOPT_NOEXEC { "exec", 1, MNT_NOEXEC, 0 }

--- 43 unchanged lines hidden ---