Swap Data for SUN OS - Refining the question

Christopher M Songer songer at orchestra.ecn.purdue.edu
Wed Oct 3 01:05:55 AEST 1990


OK,
     I found the right symbol. _swapinfo seems to be the one, it
is the head of a linked list of all the swap devices and all the
info about their current state. I can get the vnode associated 
with it. I can get the vfs the vnode is a part of. I cannot find
an inode. I need the disk name. Any pointers on how to get from
a vnode or a vfs to the disk name would be more than appreciated.

Thanks,
Chris Songer
songer at ecn.purdue.edu



More information about the Comp.unix.internals mailing list