mntopts.h (23678) | mntopts.h (28671) |
---|---|
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$ |
|
34 */ 35 36struct mntopt { 37 const char *m_option; /* option name */ 38 int m_inverse; /* if a negative option, eg "dev" */ 39 int m_flag; /* bit to set, eg. MNT_RDONLY */ 40 int m_altloc; /* 1 => set bit in altflags */ 41}; --- 30 unchanged lines hidden (view full) --- 72 MOPT_GROUPQUOTA, \ 73 MOPT_FSTAB_COMPAT, \ 74 MOPT_NOATIME, \ 75 MOPT_NODEV, \ 76 MOPT_NOEXEC, \ 77 MOPT_NOSUID, \ 78 MOPT_RDONLY, \ 79 MOPT_UNION | 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 */ 41 int m_altloc; /* 1 => set bit in altflags */ 42}; --- 30 unchanged lines hidden (view full) --- 73 MOPT_GROUPQUOTA, \ 74 MOPT_FSTAB_COMPAT, \ 75 MOPT_NOATIME, \ 76 MOPT_NODEV, \ 77 MOPT_NOEXEC, \ 78 MOPT_NOSUID, \ 79 MOPT_RDONLY, \ 80 MOPT_UNION |
80 81void getmntopts __P((const char *, const struct mntopt *, int *, int *)); 82extern int getmnt_silent; | |