Getting vnode + credentials of a file from a struct mount and UFS
inode #
Jonathan Stuart
jstuart at adaranet.com
Wed Apr 13 19:31:12 UTC 2011
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.
Thanks for any help you can provide.
Kind Regards,
Jon
More information about the freebsd-hackers
mailing list