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 2004 Sun Microsystems, Inc. All rights reserved.
24 * Use is subject to license terms.
30 #pragma ident "%Z%%M% %I% %E% SMI"
37 * Mntfs io control commands
39 #define MNTIOC ('m' << 8)
40 #define MNTIOC_NMNTS (MNTIOC|1) /* Get # of mounted resources */
41 #define MNTIOC_GETDEVLIST (MNTIOC|2) /* Get mounted dev no.'s */
42 #define MNTIOC_SETTAG (MNTIOC|3) /* Set a tag on a mounted fs */
43 #define MNTIOC_CLRTAG (MNTIOC|4) /* Clear a tag from a fs */
44 #define MNTIOC_SHOWHIDDEN (MNTIOC|6) /* private */
45 #define MNTIOC_GETMNTENT (MNTIOC|7) /* private */
47 #define MAX_MNTOPT_TAG 64 /* Maximum size for a mounted file system tag */
50 uint_t mtd_major
; /* major number of mounted resource */
51 uint_t mtd_minor
; /* minor number of mounted resource */
52 char *mtd_mntpt
; /* mount point for mounted resource */
53 char *mtd_tag
; /* tag to set/clear */
58 uint32_t mtd_major
; /* major number of mounted resource */
59 uint32_t mtd_minor
; /* minor number of mounted resource */
60 caddr32_t mtd_mntpt
; /* mount point for mounted resource */
61 caddr32_t mtd_tag
; /* tag to set/clear */
63 #endif /* _SYSCALL32 */
72 char mtl_fstype
[_ST_FSTYPSZ
];
77 size32_t mtl_mntpt_off
;
82 char mtl_fstype
[_ST_FSTYPSZ
];
84 #endif /* _SYSCALL32 */
90 #endif /* _SYS_MNTIO_H */