Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!usc!zaphod.mps.ohio-state.edu!wuarchive!uunet!charyb!dan From: dan@kfw.COM (Dan Mick) Newsgroups: comp.unix.internals Subject: Re: Swap Data for SUN OS - Refining the question Message-ID: <1990Oct3.222119.23485@kfw.COM> Date: 3 Oct 90 22:21:19 GMT References: <1990Oct1.194009.2990@ecn.purdue.edu> <1990Oct2.150555.19405@ecn.purdue.edu> Reply-To: dan@kfw.com (Dan Mick) Distribution: usa Organization: KFW Corporation, Newbury Park, CA Lines: 7 In article <1990Oct2.150555.19405@ecn.purdue.edu> songer@orchestra.ecn.purdue.edu (Christopher M Songer) writes: >Any pointers on how to get from >a vnode or a vfs to the disk name would be more than appreciated. The vnode has field v_type which enumerates to VBLK if it's a disk; in that case, v_rdev is the major/minor dev num. From there, it's a matter of looking in bdevsw or searching /dev, whichever.