Date: Thu, 16 Sep 1999 23:22:49 +0200 (CEST) From: Nick Hibma <hibma@skylink.it> To: FreeBSD Hackers mailing list <hackers@freebsd.org> Subject: nuking a vnode Message-ID: <Pine.BSF.4.10.9909162322170.30216-100000@heidi.plazza.it>
index | next in thread | raw e-mail
How do I nuke vnodes? This is the NetBSD code that needs to be emulated:
/* locate the major number */
for (maj = 0; maj < nchrdev; maj++)
if (cdevsw[maj].d_open == ulptopen)
break;
/* Nuke the vnodes for any open instances (calls close). */
mn = self->dv_unit;
vdevgone(maj, mn, mn, VCHR);
--
e-Mail: hibma@skylink.it
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.9909162322170.30216-100000>
