Linux command
readom 命令
安全
权限或系统影响较大,执行前请核对目标。
常用示例
Create an ISO image
sudo readom dev=/dev/sr0 f=[output.iso]
Create an ISO with reduced retries
sudo readom dev=/dev/sr0 f=[output.iso] retries=8
Read from a specific SCSI device
sudo readom dev=[1,0,0] f=[output.iso]
Display drive capabilities
sudo readom dev=/dev/sr0 -prcap
说明
readom (read optical media) creates ISO images from CDs, DVDs, and Blu-ray discs with built-in error checking and recovery capabilities. It is part of the cdrtools/cdrkit package and is preferred over dd for optical media because it understands disc structure and can handle read errors gracefully. The tool performs sector-by-sector reading with error detection and can retry failed reads automatically. It reports read speed, capacity, and any errors encountered during the process. For damaged or scratched discs, readom can attempt multiple retries per sector. However, for severely damaged media, specialized recovery tools like ddrescue may provide better results.
参数
- dev=_device_
- Specify the optical drive device (e.g., /dev/sr0, /dev/cdrom, or SCSI address)
- f=_file_
- Output filename for the ISO image
- retries=_n_
- Number of retry attempts for unreadable sectors (default: 128)
- speed=_n_
- Set read speed
- -prcap
- Print drive capabilities
- -clone
- Clone mode for creating exact copy including subchannel data
- -noerror
- Continue reading despite errors
- -nocorr
- Disable error correction (for damaged media recovery)
- -c2scan
- Scan for C2 errors on audio CDs
FAQ
What is the readom command used for?
readom (read optical media) creates ISO images from CDs, DVDs, and Blu-ray discs with built-in error checking and recovery capabilities. It is part of the cdrtools/cdrkit package and is preferred over dd for optical media because it understands disc structure and can handle read errors gracefully. The tool performs sector-by-sector reading with error detection and can retry failed reads automatically. It reports read speed, capacity, and any errors encountered during the process. For damaged or scratched discs, readom can attempt multiple retries per sector. However, for severely damaged media, specialized recovery tools like ddrescue may provide better results.
How do I run a basic readom example?
Run `sudo readom dev=/dev/sr0 f=[output.iso]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does dev=_device_ do in readom?
Specify the optical drive device (e.g., /dev/sr0, /dev/cdrom, or SCSI address)