Notification about a shutdown
Notification about a shutdown
- Subject: Notification about a shutdown
- From: Alexander Obuschenko <email@hidden>
- Date: Mon, 12 Jan 2009 23:35:00 +0700
Hi,
I'm developing an IOKit kext (my kext's class is derived directly
from the IOService) that opens some files (vnode_open(...)) on the
root filesystem.
These files must be closed (vnode_close(...)) before the system tries
to unmount the root volume (if these files are not closed an unmount
will fail).
Is there any way to receive notification about an impending shutdown
or restart before an unmount of the root volume?
Thanks in advance.
_______________________________________________
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