CDROMSample
Last Revision: | |
Build Requirements: | Xcode 4.0 or later, Mac OS X v10.6 or later |
Runtime Requirements: | Mac OS X v10.6 or later |
This command-line tool demonstrates how to find and read sectors from CD-ROM media on Mac OS X. Techniques shown are: finding ejectable CD-ROM media, locating the BSD /dev/rdisk* node name corresponding to that media, opening the /dev/rdisk* node, retrieving the media's preferred block size, reading a sector from the media, and closing the device.
Copyright © 2011 Apple Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2011-05-05