This procedure is about creating a ISO image file from CD/DVD using the command line on a Mac OS X.
First, you can retrieve information about the media with the following command :
drutil status
Then, the disk must me unmounted to proceed :
diskutil unmountDisk disk1
Ok, let’s make the ISO file now :
dd if=/dev/disk1 of=file.iso
Once done, you may remount the disk with the following command :
diskutil mountDisk disk1