Date: Wed, 13 Apr 2011 12:31:28 -0700 From: Jonathan Stuart <jstuart@adaranet.com> To: "freebsd-hackers@freebsd.org" <freebsd-hackers@freebsd.org> Subject: Getting vnode + credentials of a file from a struct mount and UFS inode # Message-ID: <32AB5C9615CC494997D9ABB1DB12783C024E929F93@SJ-EXCH-1.adaranet.com>
next in thread | raw e-mail | index | archive | help
Hi, I'd like to pull the owner/group ownership from a file (the information I h= ave 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() t= o get this information from the inode.. but I'm having a brainfreeze. Thanks for any help you can provide. Kind Regards, Jon
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?32AB5C9615CC494997D9ABB1DB12783C024E929F93>