I'm trying to unmount and eject a disk from an IOSCSIPeripheralDeviceType00 Kext I'm developing. Can anyone recommend the way to do this? From a userspace program I can use DiskArbitration.h functions to get the job done, but in the Kext code I've been unable to include and use these functions in my Kext.
Thanks!
Jim