Deleted Added
full compact
51a52
> #include <sys/mount.h>
85a87
> struct vfsconf *vfc;
86a89,100
> vfc = getvfsbyname("nfs");
> if(!vfc && vfsisloadable("nfs")) {
> if(vfsload("nfs"))
> err(1, "vfsload(nfs)");
> endvfsent(); /* flush cache */
> vfc = getvfsbyname("nfs");
> }
>
> if(!vfc) {
> errx(1, "NFS support is not available in the running kernel");
> }
>