Added support for proc filesystem.

This commit is contained in:
pk 1993-08-24 12:53:50 +00:00
parent 6b29756e78
commit cc64019e82
2 changed files with 6 additions and 5 deletions

View File

@ -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.

View File

@ -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