netbsd but who-can-tell because they don't make their cvs tree available
so that people can check and give proper credit.
-/* $OpenBSD: nfs_vfsops.c,v 1.16 1997/01/15 03:52:27 kstailey Exp $ */
+/* $OpenBSD: nfs_vfsops.c,v 1.17 1997/04/18 09:28:03 deraadt Exp $ */
/* $NetBSD: nfs_vfsops.c,v 1.46.4.1 1996/05/25 22:40:35 fvdl Exp $ */
/*
procp = curproc; /* XXX */
+ if (root_device->dv_class != DV_IFNET)
+ return (ENODEV);
+
/*
* XXX time must be non-zero when we init the interface or else
* the arp code will wedge. [Fixed now in if_ether.c]