Deleted Added
full compact
74a75
> struct vfsconf *vfc;
101c102,110
< if (mount(MOUNT_NULL, argv[1], mntflags, &args))
---
> vfc = getvfsbyname("null");
> if(!vfc && vfsisloadable("null")) {
> if(vfsload("null"))
> err(1, "vfsload(null)");
> endvfsent(); /* flush cache */
> vfc = getvfsbyname("null");
> }
>
> if (mount(vfc ? vfc->vfc_index : MOUNT_NULL, argv[1], mntflags, &args))