* Copyright (c) 1989 The Regents of the University of California.
* Redistribution and use in source and binary forms are permitted
* provided that the above copyright notice and this paragraph are
* duplicated in all such forms and that any documentation,
* advertising materials, and other materials related to such
* distribution and use acknowledge that the software was developed
* by the University of California, Berkeley. The name of the
* University may not be used to endorse or promote products derived
* from this software without specific prior written permission.
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
* @(#)vfs_conf.c 7.2 (Berkeley) %G%
* 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.
* Set up the filesystem operations for vnodes.
* The types are defined in mount.h.
extern struct vfsops ufs_vfsops
;
extern struct vfsops nfs_vfsops
;
extern struct vfsops mfs_vfsops
;
struct vfsops
*vfssw
[] = {
(struct vfsops
*)0, /* 0 = MOUNT_NONE */
&ufs_vfsops
, /* 1 = MOUNT_UFS */
&nfs_vfsops
, /* 2 = MOUNT_NFS */
&mfs_vfsops
, /* 3 = MOUNT_MFS */
(struct vfsops
*)0, /* 4 = MOUNT_PC */