This commit was generated by cvs2svn to track changes on a CVS vendor
[unix-history] / sys / kern / vfs_conf.c
index abbe629..cc73786 100644 (file)
  * SUCH DAMAGE.
  *
  *     from: @(#)vfs_conf.c    7.3 (Berkeley) 6/28/90
  * SUCH DAMAGE.
  *
  *     from: @(#)vfs_conf.c    7.3 (Berkeley) 6/28/90
- *     $Id$
+ *     $Id: vfs_conf.c,v 1.4 1993/12/19 00:51:49 wollman Exp $
  */
 
 #include "param.h"
  */
 
 #include "param.h"
+#include "systm.h"
 #include "mount.h"
 
 #include "mount.h"
 
-/*
- * This specifies the filesystem used to mount the root.
- * This specification should be done by /etc/config.
- */
-extern int ufs_mountroot();
-int (*mountroot)() = ufs_mountroot;
-
 /*
  * These define the root filesystem and device.
  */
 /*
  * These define the root filesystem and device.
  */
@@ -72,6 +66,8 @@ extern        struct vfsops pcfs_vfsops;
 extern struct vfsops isofs_vfsops;
 #endif
 
 extern struct vfsops isofs_vfsops;
 #endif
 
+extern struct vfsops procfs_vfsops;
+
 struct vfsops *vfssw[] = {
        (struct vfsops *)0,     /* 0 = MOUNT_NONE */
        &ufs_vfsops,            /* 1 = MOUNT_UFS */
 struct vfsops *vfssw[] = {
        (struct vfsops *)0,     /* 0 = MOUNT_NONE */
        &ufs_vfsops,            /* 1 = MOUNT_UFS */
@@ -95,4 +91,5 @@ struct vfsops *vfssw[] = {
 #else
        (struct vfsops *)0,
 #endif
 #else
        (struct vfsops *)0,
 #endif
+       &procfs_vfsops,         /* 6 = MOUNT_PROCFS */
 };
 };