• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Getting mount structure and inode
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Getting mount structure and inode


  • Subject: Getting mount structure and inode
  • From: email@hidden (mikevannorsdel)
  • Date: Mon, 15 Oct 2001 00:32:16 -0600

I need to get the vnode to the current running process. Under FreeBSD this would be done by doing:

struct vnode * vp = curproc->p_textvp;

p->p_textvp exists in the Darwin proc structure but execve() does not fill it in. Whenever I try to access it, it's NULL. What I really need to get at is the mount structure and inode number
for the current running process. Is there another way to do this?


  • Prev by Date: Weird problem
  • Next by Date: NSCells in NSCells in NSTableView?
  • Previous by thread: Re: Weird problem
  • Next by thread: NSCells in NSCells in NSTableView?
  • Index(es):
    • Date
    • Thread