使用wodim在命令行下燒錄光盤
發布時間:2009-02-27 16:23:11來源:紅聯作者:zhania
作者:linuxtoy
出自http://linuxtoy.org/archives/burning-cd-with-wodim.html
我們以前介紹的 Linux 光盤燒錄工具多為圖形化的程序,今天來看看如何使用 wodim 在命令行下燒錄光盤。wodim 包含在 cdrkit 中,如果你在自己的系統中找不到 wodim 命令的話,那么只要安裝 cdrkit 這個包就可以了。
對于可反復擦寫的光盤來說,在燒錄之前,可以使用如下命令先擦除光盤上已有的內容:
# wodim -v dev=/dev/cdrw blank=fast
執行該命令后,最后的輸出信息為:
Starting to write CD/DVD at speed 4.0 in real BLANK mode for single session.
Last chance to quit, starting real write in 0 seconds. Operation starts.
Performing OPC…
Blanking PMA, TOC, pregap
Blanking time: 48.583s
假設我現在想要將 install-x86-minimal-2008.0.iso 這個 ISO 映像文件燒錄到光盤,則可以執行:
# wodim -v dev=/dev/cdrw install-x86-minimal-2008.0.iso
同樣,我們可以看到最后的輸出信息:
Starting to write CD/DVD at speed 4.0 in real TAO mode for single session.
Last chance to quit, starting real write in 0 seconds. Operation starts.
Waiting for reader process to fill input buffer … input buffer ready.
Performing OPC…
Starting new track at sector: 0
Track 01: 79 of 79 MB written (fifo 100%) [buf 96%] 4.2x.
Track 01: Total bytes read/written: 83396608/83396608 (40721 sectors).
Writing time: 137.829s
Average write speed 3.9x.
Min drive buffer fill was 96%
Fixating…
Fixating time: 61.887s
BURN-Free was never needed.
wodim: fifo had 1314 puts and 1314 gets.
wodim: fifo was 0 times empty and 1110 times full, min fill was 94%.
要完整的了解 wodim 的用法,當然是 man 一下。