mount.h (7743) | mount.h (7945) |
---|---|
1/* 2 * Copyright (c) 1989, 1991, 1993 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 * @(#)mount.h 8.13 (Berkeley) 3/27/94 | 1/* 2 * Copyright (c) 1989, 1991, 1993 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 * @(#)mount.h 8.13 (Berkeley) 3/27/94 |
34 * $Id: mount.h,v 1.15 1995/03/16 20:23:48 wollman Exp $ | 34 * $Id: mount.h,v 1.16 1995/04/10 18:52:40 wollman Exp $ |
35 */ 36 37#ifndef _SYS_MOUNT_H_ 38#define _SYS_MOUNT_H_ 39 40#ifndef KERNEL 41#include <sys/ucred.h> 42#endif --- 49 unchanged lines hidden (view full) --- 92#define MOUNT_PORTAL 8 /* Portal Filesystem */ 93#define MOUNT_NULL 9 /* Minimal Filesystem Layer */ 94#define MOUNT_UMAP 10 /* User/Group Identifer Remapping Filesystem */ 95#define MOUNT_KERNFS 11 /* Kernel Information Filesystem */ 96#define MOUNT_PROCFS 12 /* /proc Filesystem */ 97#define MOUNT_AFS 13 /* Andrew Filesystem */ 98#define MOUNT_CD9660 14 /* ISO9660 (aka CDROM) Filesystem */ 99#define MOUNT_UNION 15 /* Union (translucent) Filesystem */ | 35 */ 36 37#ifndef _SYS_MOUNT_H_ 38#define _SYS_MOUNT_H_ 39 40#ifndef KERNEL 41#include <sys/ucred.h> 42#endif --- 49 unchanged lines hidden (view full) --- 92#define MOUNT_PORTAL 8 /* Portal Filesystem */ 93#define MOUNT_NULL 9 /* Minimal Filesystem Layer */ 94#define MOUNT_UMAP 10 /* User/Group Identifer Remapping Filesystem */ 95#define MOUNT_KERNFS 11 /* Kernel Information Filesystem */ 96#define MOUNT_PROCFS 12 /* /proc Filesystem */ 97#define MOUNT_AFS 13 /* Andrew Filesystem */ 98#define MOUNT_CD9660 14 /* ISO9660 (aka CDROM) Filesystem */ 99#define MOUNT_UNION 15 /* Union (translucent) Filesystem */ |
100#define MOUNT_MAXTYPE 15 | 100#define MOUNT_DEVFS 16 /* existing device Filesystem */ 101#define MOUNT_MAXTYPE 16 |
101 102#define INITMOUNTNAMES { \ 103 "none", /* 0 MOUNT_NONE */ \ 104 "ufs", /* 1 MOUNT_UFS */ \ 105 "nfs", /* 2 MOUNT_NFS */ \ 106 "mfs", /* 3 MOUNT_MFS */ \ 107 "msdos", /* 4 MOUNT_MSDOS */ \ 108 "lfs", /* 5 MOUNT_LFS */ \ 109 "lofs", /* 6 MOUNT_LOFS */ \ 110 "fdesc", /* 7 MOUNT_FDESC */ \ 111 "portal", /* 8 MOUNT_PORTAL */ \ 112 "null", /* 9 MOUNT_NULL */ \ 113 "umap", /* 10 MOUNT_UMAP */ \ 114 "kernfs", /* 11 MOUNT_KERNFS */ \ 115 "procfs", /* 12 MOUNT_PROCFS */ \ 116 "afs", /* 13 MOUNT_AFS */ \ 117 "cd9660", /* 14 MOUNT_CD9660 */ \ 118 "union", /* 15 MOUNT_UNION */ \ | 102 103#define INITMOUNTNAMES { \ 104 "none", /* 0 MOUNT_NONE */ \ 105 "ufs", /* 1 MOUNT_UFS */ \ 106 "nfs", /* 2 MOUNT_NFS */ \ 107 "mfs", /* 3 MOUNT_MFS */ \ 108 "msdos", /* 4 MOUNT_MSDOS */ \ 109 "lfs", /* 5 MOUNT_LFS */ \ 110 "lofs", /* 6 MOUNT_LOFS */ \ 111 "fdesc", /* 7 MOUNT_FDESC */ \ 112 "portal", /* 8 MOUNT_PORTAL */ \ 113 "null", /* 9 MOUNT_NULL */ \ 114 "umap", /* 10 MOUNT_UMAP */ \ 115 "kernfs", /* 11 MOUNT_KERNFS */ \ 116 "procfs", /* 12 MOUNT_PROCFS */ \ 117 "afs", /* 13 MOUNT_AFS */ \ 118 "cd9660", /* 14 MOUNT_CD9660 */ \ 119 "union", /* 15 MOUNT_UNION */ \ |
120 "devfs", /* 15 MOUNT_DEVFS */ \ |
|
119 0, /* 16 MOUNT_SPARE */ \ 120} 121 122/* 123 * Structure per mounted file system. Each mounted file system has an 124 * array of operations and an instance record. The file systems are 125 * put on a doubly linked list. 126 */ --- 391 unchanged lines hidden --- | 121 0, /* 16 MOUNT_SPARE */ \ 122} 123 124/* 125 * Structure per mounted file system. Each mounted file system has an 126 * array of operations and an instance record. The file systems are 127 * put on a doubly linked list. 128 */ --- 391 unchanged lines hidden --- |