Deleted Added
full compact
75a76
> struct vfsconf *vfc;
112c113,121
< if (mount(MOUNT_UNION, argv[1], mntflags, &args))
---
> vfc = getvfsbyname("union");
> if(!vfc && vfsisloadable("union")) {
> if(vfsload("union"))
> err(1, "vfsload(union)");
> endvfsent(); /* flush cache */
> vfc = getvfsbyname("union");
> }
>
> if (mount(vfc ? vfc->vfc_index : MOUNT_UNION, argv[1], mntflags, &args))