Todd Heberlein wrote:
If not, does anyone know how is diskutil getting this information? For example getfsstat(), statfs(), ...? I'm having troubles finding the equivalent of "BusProtocol" and "Internal" values in these structures.
BusProtocol is probably worked out from the device pathname (/dev/ something). That's in struct statfs as f_mntfromname.
There's probably some munging to turn that path into an IOKit node, and from that, one of the ancestor nodes would identify the bus. For example, look at the plist keys that contain "Device" as a prefix. The DeviceTreePath key has a value that identifies things like PCI and SATA (on my machine).
-- GG _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com