Re: Hooking mount events from within kernel.
Re: Hooking mount events from within kernel.
- Subject: Re: Hooking mount events from within kernel.
- From: "Maxim Zhuravlev" <email@hidden>
- Date: Thu, 28 Aug 2008 13:01:55 +0400
> You can get notification through disk arbitration in user space, and then
> call down into your KEXT to tell it about the events. This is typically
> done with DARegisterDiskMountApprovalCallback and
> DARegisterDiskUnmountApprovalCallback, which would allow you to ensure
> mostly synchronous operation.
Ok, having played with disk arbitration, it turned out that disk
arbitration does't callback on network disk mount, just on umount. It
works fine for removable disks, disk images, etc. If this is by
design, how do I catch network disk mount reliably?
Thanks in advance,
- Maxim.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden