On Wed, Apr 13, 2011 at 12:31 PM, Jonathan Stuart <jstu...@adaranet.com> wrote:
> Hi,
>
> I'd like to pull the owner/group ownership from a file (the information I 
> have about the file is it's UFS inode # and it's struct mount *).  I'm sure 
> there's got to be a function that would return a vnode and I could VTOI() to 
> get this information from the inode.. but I'm having a brainfreeze.
>

VFS_VGET(mp, ino, flags, &vp) is probably what you want.

Cheers,
matthew
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

Reply via email to