150a151
> struct vfsconf *vfc;
297c298,307
< if (mount(MOUNT_NFS, name, mntflags, nfsargsp))
---
>
> vfc = getvfsbyname("nfs");
> if(!vfc && vfsisloadable("nfs")) {
> if(vfsload("nfs"))
> err(1, "vfsload(nfs)");
> endvfsent(); /* flush cache */
> vfc = getvfsbyname("nfs");
> }
>
> if (mount(vfc ? vfc->vfc_index : MOUNT_NFS, name, mntflags, nfsargsp))
> struct vfsconf *vfc;
297c298,307
< if (mount(MOUNT_NFS, name, mntflags, nfsargsp))
---
>
> vfc = getvfsbyname("nfs");
> if(!vfc && vfsisloadable("nfs")) {
> if(vfsload("nfs"))
> err(1, "vfsload(nfs)");
> endvfsent(); /* flush cache */
> vfc = getvfsbyname("nfs");
> }
>
> if (mount(vfc ? vfc->vfc_index : MOUNT_NFS, name, mntflags, nfsargsp))