← 返回命令列表

Linux command

cdrdao 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Read

cdrdao read-cd --device [/dev/cdrom] --read-raw [image.toc]

Write

cdrdao write --device [/dev/cdrom] --speed [8] [image.toc]

Simulate

cdrdao simulate --device [/dev/cdrom] [image.toc]

Copy

cdrdao copy --source-device [/dev/cdrom] --device [/dev/cdrw] [image.toc]

Blank

cdrdao blank --device [/dev/cdrw] --blank-mode minimal

Show

cdrdao show-toc [image.toc]

说明

cdrdao reads and writes CDs in disc-at-once (DAO) mode. Unlike track-at-once recording, DAO writes the entire disc in a single pass without gaps between tracks, preserving exact sector timing and sub-channel data. This makes it the preferred tool for creating accurate copies of audio CDs where track transitions matter. The tool uses TOC (Table of Contents) files to describe disc layout, which can represent complex disc structures including multi-session discs, mixed-mode discs, and CDs with hidden tracks or non-standard gaps. The TOC format provides more control over disc layout than cue sheets. A typical workflow involves reading a disc with `read-cd` to create a TOC file and binary image, then writing the image back with `write`. The `simulate` command performs a dry run without actually burning.

参数

--device _device_
CD/DVD device path
--read-raw
Read in raw mode (preserves all data)
--driver _name_
Use specific device driver
--speed _n_
Set write speed
--source-device _device_
Source CD device path (for copy command)
--eject
Eject disc after operation
--overburn
Allow writing more data than the medium capacity
--multi
Do not close the session after writing, allowing additional sessions
--blank-mode _mode_
Blanking mode for CD-RW (minimal or full)

FAQ

What is the cdrdao command used for?

cdrdao reads and writes CDs in disc-at-once (DAO) mode. Unlike track-at-once recording, DAO writes the entire disc in a single pass without gaps between tracks, preserving exact sector timing and sub-channel data. This makes it the preferred tool for creating accurate copies of audio CDs where track transitions matter. The tool uses TOC (Table of Contents) files to describe disc layout, which can represent complex disc structures including multi-session discs, mixed-mode discs, and CDs with hidden tracks or non-standard gaps. The TOC format provides more control over disc layout than cue sheets. A typical workflow involves reading a disc with `read-cd` to create a TOC file and binary image, then writing the image back with `write`. The `simulate` command performs a dry run without actually burning.

How do I run a basic cdrdao example?

Run `cdrdao read-cd --device [/dev/cdrom] --read-raw [image.toc]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does --device _device_ do in cdrdao?

CD/DVD device path