vdump revision 1.2
11.2Sgwr# $NetBSD: vdump,v 1.2 1997/02/12 23:35:11 gwr Exp $ 21.2Sgwr 31.1Sgwr# @(#)vdump 8.1 (Berkeley) 6/10/93 41.1Sgwr# 51.1Sgwr# dump the vnode list 61.1Sgwr 71.1Sgwrdefine dumpvnodes 81.1Sgwr 91.1Sgwr set $vp = (struct vnode *)$arg0 101.1Sgwr while ($vp) 111.1Sgwr printf "vnode=0x%x freef=0x%x mountf=0x%x usecount=%d\n", $vp, $vp->v_freef, $vp->v_mountf, $vp->v_usecount 121.1Sgwr set $vp = (struct vnode *)$vp->v_freef 131.1Sgwr end 141.1Sgwrend 15