Re: Hooking mount events from within kernel.
site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com I would appreciate, if you give me a hint, how do I do it from within kernel, i.e. *observe* mount/umount events, if there is any way. That would fit my needs perfectly. o polling the results of vfs_iterate o hacking on the kernel (that is, using non-KPIs) S+E -- Quinn "The Eskimo!" <http://www.apple.com/developer/> Apple Developer Relations, Developer Technical Support, Core OS/Hardware _______________________________________________ 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... At 13:50 +0400 26/8/08, Maxim Zhuravlev wrote: AFAICT there's no reasonable way to do this. Options that don't fit my definition of reasonable include: Outside the kernel you probably want to use the <x-man-page://3/notify> API rather than DiskArb because it's significantly lower level. Check out kNotifyVFSMount and kNotifyVFSUnmount in <notify_keys.h>. This email sent to site_archiver@lists.apple.com
participants (1)
-
Quinn