Volume Reference Numbers and directory IDs
Volume Reference Numbers and directory IDs
- Subject: Volume Reference Numbers and directory IDs
- From: Krishna Monian <email@hidden>
- Date: Wed, 7 Jul 2004 08:57:25 -0700 (PDT)
Hi,
How can I find out what the default volume reference
is and what they are for each of the mounted volumes?
Another question I have is regarding the directory ID.
Given a proc struct, how do I find the current
directory ID from it?
Currently I access the filedesc struct in the proc
struc which in turn has a current current directory
vnode. I use this to get the attributes using
VOP_GETATTR and then access the va_fileid field in the
vattr struct. Is this the right way to get the
directory id?
Thanks
Krishna
__________________________________
Do you Yahoo!?
Yahoo! Mail - Helps protect you from nasty viruses.
http://promotions.yahoo.com/new_mail
_______________________________________________
darwin-kernel mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/darwin-kernel
Do not post admin requests to the list. They will be ignored.