Re: Newbie question - missing vop* structures/functions in sys/vnode.h on 10.4
site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com On Jun 7, 2007, at 3:51 AM, Ratheesh Ramachandran wrote: Thanks Terry and Michael. Combining both your responses: There are, to the best of my recollection, no vnop_* functions of note. = Mike _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... - Kernel programs should not perform file operations using vop_* functions/structures (which is not possible on 10.4 anyway). - Kernel programs should perform file operations using the vnode_* functions (KPI) defined in sys/vnode.h Kernel code (there are no 'kernel programs' in the jargon) should as a general rule not perform "file operations" at all. Typically you will be operating on a vnode, which has previously been looked up by another function. - vnop_* functions are to be implemented by Filesystems, and the vnode_* functions (KPI) in turn call these. The VNOP_* functions are immediate wrappers around the functions implemented by filesystems, and exported by those filesystems in their VNOP export tables. This email sent to site_archiver@lists.apple.com
participants (1)
-
Michael Smith