vnode to device name in SUN OS 4.0.3

Christopher M Songer songer at orchestra.ecn.purdue.edu
Fri Oct 5 02:53:15 AEST 1990


Hi,
     I'm poking around in kmem looking for amount of memory swapped
by disk. I get the symbol _swapinfo which will give me a vode of
the device. How do I get the name of the drive from the vnode. I've
traced it as far as I can and can't figure it out. It is however,
driving me batty. I can get a vfs, and an rnode as well, but none of
these seem to help. Any sort of clue or advice would be wonderful.

Chris Songer
songer at ecn.purdue.edu



More information about the Comp.unix.internals mailing list