X-Git-Url: https://git.subgeniuskitty.com/unix-history/.git/blobdiff_plain/3106e3f1973a9e6623108c7bd8ce525f9e79d2c4..2e162568ad11336bc4febcf690f5d5e25d63e3e7:/sys/kern/vfs_conf.c diff --git a/sys/kern/vfs_conf.c b/sys/kern/vfs_conf.c index abbe629328..cc7378639d 100644 --- a/sys/kern/vfs_conf.c +++ b/sys/kern/vfs_conf.c @@ -31,19 +31,13 @@ * 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 "systm.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. */ @@ -72,6 +66,8 @@ extern struct vfsops pcfs_vfsops; 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 */ @@ -95,4 +91,5 @@ struct vfsops *vfssw[] = { #else (struct vfsops *)0, #endif + &procfs_vfsops, /* 6 = MOUNT_PROCFS */ };