分类: LINUX
2007-03-10 22:47:57
非常简单,就是注意:USB刻录机在linux下的设备名为/dev/sr0
命令格式为 growisofs -dvd-compat -speed=刻录速度 -Z 设备名=镜像路径
例子,如下:
night@debian:~$ growisofs -dvd-compat -Z /dev/sr0=/debian-31r5-i386-binary-1.iso
Executing 'builtin_dd if=/debian-31r5-i386-binary-1.iso of=/dev/sr0 obs=32k seek=0'
/dev/sr0: "Current Write Speed" is 16.4x1352KBps.
0/4682901504 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU 0.0%
0/4682901504 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU 0.0%
0/4682901504 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU 0.0%
0/4682901504 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU 0.0%
7176192/4682901504 ( 0.2%) @1.6x, remaining 15:19 RBU 100.0% UBU 99.0%
……………………
4609540096/4682901504 (98.4%) @4.0x, remaining 0:11 RBU 100.0% UBU 99.6%
4628086784/4682901504 (98.8%) @4.0x, remaining 0:08 RBU 100.0% UBU 99.6%
4646633472/4682901504 (99.2%) @4.0x, remaining 0:05 RBU 99.4% UBU 99.8%
4665180160/4682901504 (99.6%) @4.0x, remaining 0:02 RBU 100.0% UBU 99.8%
builtin_dd: 2286576*2KB out @ average 4.5x1352KBps
/dev/sr0: flushing cache
/dev/sr0: closing track
/dev/sr0: closing disc
查看一下刚刻好的光盘信息, 需要软件dvd+rw-tools
night@debian:~$ dvd+rw-mediainfo /dev/dvd
INQUIRY: [HL-DT-ST][DVD-ROM GDR8082N][0007]
GET [CURRENT] CONFIGURATION:
Mounted Media: 10h, DVD-ROM
READ DVD STRUCTURE[#0h]:
Media Book Type: 00h, DVD-ROM book [revision 0]
Legacy lead-out at: 2286576*2KB=4682907648
READ DISC INFORMATION:
Disc status: complete
Number of Sessions: 1
State of Last Session: complete
Number of Tracks: 1
READ TRACK INFORMATION[#1]:
Track State: complete
Track Start Address: 0*2KB
Free Blocks: 0*2KB
Track Size: 2286576*2KB
FABRICATED TOC:
Track#1 : 14@0
Track#AA : 14@2286576
Multi-session Info: #1@0
READ CAPACITY: 2286576*2048=4682907648
night@debian:/mnt$ cd
night@debian:~$ sudo umount /dev/dvd