Index: devfs_vfsops.c =================================================================== RCS file: /space2/ncvs/src/sys/fs/devfs/devfs_vfsops.c,v retrieving revision 1.19 diff -u -p -r1.19 devfs_vfsops.c --- devfs_vfsops.c 19 Mar 2002 22:19:57 -0000 1.19 +++ devfs_vfsops.c 26 Mar 2002 16:07:53 -0000 @@ -50,8 +50,8 @@ MALLOC_DEFINE(M_DEVFS, "DEVFS", "DEVFS data"); -static int devfs_mount(struct mount *mp, char *path, caddr_t data, - struct nameidata *ndp, struct thread *td); +static int devfs_mount(struct mount *mp, struct nameidata *ndp, + struct thread *td); static int devfs_unmount(struct mount *mp, int mntflags, struct thread *td); static int devfs_root(struct mount *mp, struct vnode **vpp); @@ -62,10 +62,8 @@ static int devfs_statfs(struct mount *mp * Mount the filesystem */ static int -devfs_mount(mp, path, data, ndp, td) +devfs_mount(mp, ndp, td) struct mount *mp; - char *path; - caddr_t data; struct nameidata *ndp; struct thread *td; { @@ -180,7 +178,7 @@ devfs_statfs(mp, sbp, td) } static struct vfsops devfs_vfsops = { - devfs_mount, + NULL, vfs_stdstart, devfs_unmount, devfs_root, @@ -194,6 +192,7 @@ static struct vfsops devfs_vfsops = { vfs_stdinit, vfs_stduninit, vfs_stdextattrctl, + devfs_mount, }; VFS_SET(devfs_vfsops, devfs, VFCF_SYNTHETIC); Index: init_main.c =================================================================== RCS file: /space2/ncvs/src/sys/kern/init_main.c,v retrieving revision 1.193 diff -u -p -r1.193 init_main.c --- init_main.c 19 Apr 2002 13:35:53 -0000 1.193 +++ init_main.c 22 Apr 2002 16:02:09 -0000 @@ -510,7 +510,8 @@ start_init(void *dummy) if (error == EEXIST) error = 0; if (error == 0) - error = vfs_mount(td, "devfs", "/dev", 0, 0); + error = kernel_vmount(0, "fstype", "devfs", + "fspath", "/dev", NULL); if (error != 0) init_does_devfs = 1; }