After my recent post on mounting ISO image files I thought I should write a quick article on the other ways of using these files: Reading a disk in to a file and burning a file to a disk. This is not a complete guide on the topic by a long shot, but if you just want the quick start answer, it is here.
If you have an iso9660 CD (or DVD) image file that you want to burn to a disk, you simply use this command:
# cdrw -i filename.iso |
This will write the file named filename.iso to the default cd writer device. If working with DVD media, the session is closed (using Disk at once writing), while for CD media Track-at-once writing is used.
To create an ISO image from a disk, use this command:
# readcd dev=/dev/rdsk/c1t0d0s2 f=filename.iso speed=1 retries=20 |
readcd needs at least the device and the file to be specified. To discover the device, you can use the command "iostat -En" and look for the Writer device, or you can let readcd scan for a device, using a command like this:
# readcd -scanbus |
The device 1,0,0 can be used directly, or you can convert it to the Solaris naing convention as I did in the example above.
There are of course other ways of doing it, feel free to comment and tell me about your fevourite method for reading to or burning from ISO-image files.
No comments:
Post a Comment