Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Hooking mount events from within kernel.



> What do you mean by "hook" here?

I mean, I need to get notified on every mount/umount event. I.e. I
need, say, some kauth semantics for mount/umount.

> What problem you are actually trying to solve that you think hooking mounts
> and unmounts will solve for you?

I need to do some initialization in my kext for newly coming
filesystem on mount and some invalidation for umonted filesystem based
on it's device id ( in terms of stat() ) or fsid (in terms of vnodes).
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-kernel/email@hidden

This email sent to email@hidden

References: 
 >Hooking mount events from within kernel. (From: "Maxim Zhuravlev" <email@hidden>)
 >Re: Hooking mount events from within kernel. (From: "Maxim Zhuravlev" <email@hidden>)
 >Re: Hooking mount events from within kernel. (From: Terry Lambert <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.