Linux命令刻录光盘

1. 通过cdrecord -scanbus命令查看光驱。

[root@localhost software]# cdrecord -scanbus

Cdrecord-Clone 2.01a32-dvd (i686-pc-linux-gnu) Copyright (C) 1995-2004 J旦rg Schilling
Note: This version is an unofficial (modified) version with DVD support
Note: and therefore may have bugs that are not present in the original.
Note: Please send bug reports or support requests to http://bugzilla.redhat.com/bugzilla
Note: The author of cdrecord should not be bothered with problems in this version.
Linux sg driver version: 3.1.25
Using libscg version 'schily-0.8'.
cdrecord: Warning: using inofficial libscg transport code version (schily - Red Hat-scsi-linux-sg.c-1.83-RH '@(#)scsi-linux-sg.c 1.83 04/05/20 Copyrig
ht 1997 J. Schilling').
scsibus0:
0,0,0 0) 'ATA ' 'WDC WD800JD-75MS' '10.0' Disk
0,1,0 1) *
0,2,0 2) *
0,3,0 3) *
0,4,0 4) *
0,5,0 5) *
0,6,0 6) *
0,7,0 7) *
scsibus2:
2,0,0 200) 'SONY ' 'DVD RW DRU-840A ' 'SS01' Removable CD-ROM
2,1,0 201) *
2,2,0 202) *
2,3,0 203) *
2,4,0 204) *
2,5,0 205) *
2,6,0 206) *
2,7,0 207) *

上述的0,0,0是cd光驱,2,0,0是刻录光驱。

2. 生成镜像文件

dd if=/dev/cdrom of=/tmp/luan.iso

3.刻录文件

cdrecord dev=2,0,0 speed=8 fs=8m -v -eject /tmp/luan.iso

你可能感兴趣的:(linux命令)