[OpenAFS-devel] volscan utility

Michael Meffie mmeffie@sinenomine.net
Thu, 10 Mar 2011 09:47:52 -0500


Hello All,

At the conference in Pilzen, I presented a small tool to inspect volume
vnode data which I called volscan. This is a small tool, originally
written by Tom Kieser to quickly extract mount point information without
resorting to dumping and parsing volume dumps. It is basically volinfo
with the new dir library fuction (introduced for vos-split I believe)
to recusively determine paths relative to the root of the volume.

I've added more options so I can examine the various vnode metadata
fields. I have found this little tool useful and hope this can find
it's way into the openafs.org tree in some form.

It seems to me, the approach would be to fold this back into volinfo,
however I don't see how that could be done without breaking backward
compatibility with the volinfo command line interface, since volinfo
does not have sub-commands.  Any suggestions would be appreciated.

The current patch against master is,

    http://git.sinenomine.net/patch/volscan-display-vnode-info-20110310


Thanks,
Mike