| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
Hi all,
I'm currently working on a Darwin port of smartmontools. Right now, I'm using ATASMARTLib to enable SMART & read the relevant data and thresholds (thanks, Chris S., for pointing out this framework!) So far, so good. I ported over a bunch of the Linux SMART ioctls over to IOKit ....
One thing the Linux version of smartmontools does is send ioctls to the ATA devices to access the ATAIdentify structure. It heavily relies on this struct throughout the code to determine drive capabilities, model, etc. The raw BSD device drivers don't support these ioctls. Anyways - I worked with this stuff before in MacOS 9 & it was simply a matter of sending the appropriate ATAManager commands. I had a good dig through the list archives but I can't find anything on this subject.
My question: is there a framework for sending arbitrary ATA commands or something for accessing the familiar ATAIdentify structure?
Regards,
Pete C
_______________________________________________
darwin-development mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-development
Do not post admin requests to the list. They will be ignored.
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
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.