From cc64019e82856cef2656582755c9c3a7eb0ac8b0 Mon Sep 17 00:00:00 2001 From: pk Date: Tue, 24 Aug 1993 12:53:50 +0000 Subject: [PATCH] Added support for proc filesystem. --- sys/sys/mount.h | 5 +++-- sys/sys/vnode.h | 6 +++--- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/sys/sys/mount.h b/sys/sys/mount.h index 183e25de9310..0396a10b7b90 100644 --- a/sys/sys/mount.h +++ b/sys/sys/mount.h @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * from: @(#)mount.h 7.22 (Berkeley) 6/3/91 - * $Id: mount.h,v 1.15 1993/08/15 21:24:05 deraadt Exp $ + * $Id: mount.h,v 1.16 1993/08/24 12:53:50 pk Exp $ */ #ifndef _SYS_MOUNT_H_ @@ -86,7 +86,8 @@ struct statfs { #define MOUNT_KERNFS 7 /* kernel variable filesystem */ #define MOUNT_DEVFS 8 /* device node filesystem */ #define MOUNT_AFS 9 /* AFS 3.x */ -#define MOUNT_MAXTYPE MOUNT_AFS +#define MOUNT_PROCFS 10 /* proc filesystem */ +#define MOUNT_MAXTYPE MOUNT_PROCFS /* * Structure per mounted file system. diff --git a/sys/sys/vnode.h b/sys/sys/vnode.h index 5144a234b4a5..43b8cc7dc78d 100644 --- a/sys/sys/vnode.h +++ b/sys/sys/vnode.h @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * from: @(#)vnode.h 7.39 (Berkeley) 6/27/91 - * $Id: vnode.h,v 1.9 1993/08/23 05:02:28 cgd Exp $ + * $Id: vnode.h,v 1.10 1993/08/24 12:53:51 pk Exp $ */ #ifndef _SYS_VNODE_H_ @@ -50,7 +50,7 @@ /* * vnode types. VNON means no type. */ -enum vtype { VNON, VREG, VDIR, VBLK, VCHR, VLNK, VSOCK, VFIFO, VBAD }; +enum vtype { VNON, VREG, VDIR, VBLK, VCHR, VLNK, VSOCK, VFIFO, VPROC, VBAD }; /* * Vnode tag types. @@ -58,7 +58,7 @@ enum vtype { VNON, VREG, VDIR, VBLK, VCHR, VLNK, VSOCK, VFIFO, VBAD }; * and should NEVER be inspected inside the kernel. */ enum vtagtype { VT_NON, VT_UFS, VT_NFS, VT_MFS, VT_MSDOSFS, VT_ISOFS, - VT_KERNFS, VT_FDESC }; + VT_KERNFS, VT_FDESC, VT_PROCFS }; /* * This defines the maximum size of the private data area