Re: File Access with VFS
Re: File Access with VFS
- Subject: Re: File Access with VFS
- From: Quinn <email@hidden>
- Date: Wed, 9 Apr 2003 17:44:08 +0100
At 7:36 -0700 9/4/03, Scott Lance wrote:
I am trying to open a file for manipulation in Kernel mode. After several
hours of searching, limited documentation seems to suggest that I would be
able to use a VNode to accomplish my objective. I have tried to find
documentation on how this works and what I must do to be able to get a handle
to a file and open it up for manipulation. Does anyone have any suggestions
on where I can look for information on how vnodes and the VFS work? Or
perhaps someone could enlighten me on what I must do to be able to open a file
for use??? Or might there be a different way to open a file in Kernel mode
that I've missed all together?
There isn't a single "kernel mode" on Mac OS X. The answer differs
depending on whether you're running within BSD portions of the kernel
(indeed, what part of BSD), within an I/O Kit driver, and so on.
What context is your code executing in?
S+E
--
Quinn "The Eskimo!" <
http://www.apple.com/developer/>
Apple Developer Technical Support * Networking, Communications, Hardware
_______________________________________________
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.