DVD操作

如何烧录一张DVD?
用法: growisofs -dvd-compat -Z {device-path}={iso-file}

# growisofs -dvd-compat -Z /dev/dvdrw=data.iso
Executing 'builtin_dd if=data.iso of=/dev/dvdrwobs=32k seek=0'
/dev/dvdrw: "Current Write Speed" is 2.0x1352KBps.
builtin_dd: 192*2KB out @ average infx1352KBps
/dev/dvdrw: flushing cache
/dev/dvdrw: writing lead-out

如何清空一张可擦写的DVD?
用法: dvd+rw-format -force {device-file-path}

# dvd+rw-format -force /dev/dvdrw
* BD/DVD±RW/-RAM format utility by
, version 7.0.
* 4.7GB DVD-RW media in Restricted Overwrite mode
detected.
* formatting 86.2%

如何写一个多区段的DVD?
首先,创建一个ISO镜像之后就可以按照上面提到的方法正常烧录了。没有必要去创建第二个镜像,你可以将增添的文件加入到已有的iso文件中。
用法: -M to merge a new session
Final argument indicates the files to be appended.

# growisofs -dvd-compat -M /dev/dvdrw -R -J t1/
Executing 'mkisofs -C 16,560 -M /dev/fd/3 -R -J t1/ | builtin_dd of=/dev/dvdrw obs=32k seek=35'
I: -input-charset not specified, using utf-8
(detected in locale settings)
Rock Ridge signatures found
Total translation table size: 0
Total rockridge attributes bytes: 404
Total directory bytes: 0
Path table size(bytes): 10
Max brk space used 0
742 extents written (1 MB)
/dev/dvdrw: "Current Write Speed" is 2.0x1352KBps.
builtin_dd: 192*2KB out @ average infx1352KBps
/dev/dvdrw: flushing cache
/dev/dvdrw: copying volume descriptor(s)
/dev/dvdrw: flushing cache
/dev/dvdrw: reloading tray

来源:《linux 101 hacks》

发表评论

电子邮件地址不会被公开。 必填项已用*标注