cdrecord - 命令用法
cdrecord命令可以將ISO image檔案燒錄至CD/DVD 設備中,
要燒錄前先檢查一下支援度
[root@www Downloads]# cdrecord -scanbus
scsibus1:
1,0,0 100) *
1,1,0 101) 'PIONEER ' 'DVD-RW DVR-109 ' '1.58' Removable CD-ROM
1,2,0 102) *
1,3,0 103) *
1,4,0 104) *
1,5,0 105) *
1,6,0 106) *
1,7,0 107) *
例子1:測試燒錄,沒有實際燒錄
[root@www Downloads]# cdrecord -dummy CentOS-5.5-i386-bin-DVD.iso
wodim: No write mode specified.
wodim: Assuming -tao mode.
wodim: Future versions of wodim may have different drive dependent defaults.
Device was not specified. Trying to find an appropriate drive...
Looking for a DVD-R drive to store 3991.24 MiB...
Detected DVD-R drive: /dev/dvdrw
Using /dev/cdrom of unknown capabilities
Device type : Removable CD-ROM
Version : 5
Response Format: 2
Capabilities :
Vendor_info : 'PIONEER '
Identification : 'DVD-RW DVR-109 '
Revision : '1.58'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
Using generic SCSI-3/mmc DVD-R(W) driver (mmc_mdvd).
Driver flags : SWABAUDIO BURNFREE
Supported modes: PACKET SAO
Speed set to 5540 KB/s
Starting to write CD/DVD at speed 4.0 in dummy unknown mode for single session.
Last chance to quit, starting dummy write in 0 seconds. Operation starts.
例子2:實際燒錄
[root@www Downloads]# cdrecord -eject CentOS-5.5-i386-bin-DVD.iso-eject: 表示燒錄完成自動彈出, 尚有一些參數可用如
speed=24: 表示指定速率
-mulit :表示開始多段燒錄
可以使用cdrecord -help查看
另一燒錄命令, growisfs
[root@www Downloads]# growisofs --help
* growisofs by <[email protected]>, version 7.1,
- usage: growisofs [-dvd-compat] [-overburn] [-speed=1] \
-[ZM] /dev/dvd <mkisofs options>
for <mkisofs options> see 'mkisofs -help'
例子1
growisofs -Z /dev/dvd -R -J /some/files1 /some/files2
growisofs -M /dev/dvd -R -J /some/files3 //新增file3 檔案
growisofs -M /dev/dvd=/dev/zero //關閉燒錄
-Z: 表示指定設備
-M:表示關閉燒錄
上述可以一直將檔案新增進來,直到關閉燒錄命令為止
例子2
growisofs -dvd-compat -Z /dev/dvd=image.iso
-dvd-compat :表示可以改善不同DVD driver對某些DVD區段燒錄過程的相容性
想要了解更多用法, 可以man growisofs