目次
LinuxでDVDを使う最終更新 2004/06/12
ファイルの入手とインストール
wget http://files.generaal.net/dvdrtools/dvdrtools-0.1.6.tar.gz tar -xvzf dvdrtools-0.1.6.tar.gz cd dvdrtools ./configure make make install
-rwxr-xr-x 1 root root 1346 May 20 20:57 cdda2mp3* -rwxr-xr-x 1 root root 1294 May 20 20:57 cdda2ogg* -rwxr-xr-x 1 root root 592568 May 20 20:57 cdda2wav* -rwxr-xr-x 1 root root 114454 May 20 20:57 devdump* -rwxr-xr-x 1 root root 691153 May 20 20:57 dvdrecord* -rwxr-xr-x 1 root root 125575 May 20 20:57 isodump* -rwxr-xr-x 1 root root 279942 May 20 20:57 isoinfo* -rwxr-xr-x 1 root root 127554 May 20 20:57 isovfy* -rwxr-xr-x 1 root root 1088029 May 20 20:57 mkisofs* -rwxr-xr-x 1 root root 416504 May 20 20:57 readcd*
使いかたcdrecord とほぼ同じ
# dvdrecord --scanbus dvdrtools v0.1.6 Portions (c) 2002-2003 Ark Linux <bero@arklinux.org> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; see the file COPYING. If not, write to the Free Software Foundation, 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. Based on: Cdrecord 1.11a15 (i686-pc-linux-gnu) Copyright (C) 1995-2001 J�g Schilling Linux sg driver version: 3.1.25 Using libscg version 'bero-0.5a' dvdrecord: Warning: using inofficial version of libscg (bero-0.5a '@(#)scsitransp.c 1.81 01/04/20 Copyright 1988,1995,2000 J. Schilling'). scsibus0: 0,0,0 0) '_NEC ' 'DVD_RW ND-1300A ' '1.08' Removable CD-ROM 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) *
カレントディレクトリ以下を一括してバックアップするスクリプト例#!/bin/csh set targetdir=`pwd` mkisofs -v -R -J -o /tmp/autobackup.img $targetdir/ dvdrecord -v speed=2 -dao dev=0,0,0 -data /tmp/autobackup.img DVD焼付に成功したドライブ:IO DATA製(DVR-ABN4)/中身はNECscsibus0: 0,0,0 0) '_NEC ' 'DVD_RW ND-1300A ' '1.08' Removable CD-ROM 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) *
DVD焼付に失敗したドライブ:BUFFALO/DVM-H4244FBscsibus0: 0,0,0 0) * 0,1,0 1) * 0,2,0 2) * 0,3,0 3) * 0,4,0 4) * 0,5,0 5) 'EPSON ' 'SCANNER GT-7600 ' '1.03' Processor 0,6,0 6) * 0,7,0 7) * scsibus1: 1,0,0 100) 'DVDRW ' 'IDE1004 ' '0045' Removable CD-ROM 1,1,0 101) * 1,2,0 102) * 1,3,0 103) * 1,4,0 104) * 1,5,0 105) * 1,6,0 106) * 1,7,0 107) * dvdrtools v0.1.6 Portions (c) 2002-2003 Ark Linux <bero@arklinux.org> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; see the file COPYING. If not, write to the Free Software Foundation, 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. Based on: Cdrecord 1.11a15 (i686-pc-linux-gnu) Copyright (C) 1995-2001 Jg Schilling TOC Type: 1 = CD-ROM scsidev: '1,0,0' scsibus: 1 target: 0 lun: 0 Linux sg driver version: 3.1.25 Using libscg version 'bero-0.5a' dvdrecord: Warning: using inofficial version of libscg (bero-0.5a '@(#)scsitransp.c 1.81 01/04/20 Copyright 1988,1995,2000 J. Schilling'). atapi: 1 Device type : Removable CD-ROM Version : 0 Response Format: 1 Vendor_info : 'DVDRW ' Identifikation : 'IDE1004 ' Revision : '0045' Device seems to be: Generic mmc2 DVD. Using generic SCSI-3/mmc DVD-R(W) driver (mmc_mdvd). Driver flags : SWABAUDIO BURNFREE Supported modes: PACKET SAO Drive buf size : 1376256 = 1344 KB FIFO size : 4194304 = 4096 KB Track 01: data 384 MB Total size: 441 MB (43:41.86) = 196640 sectors Lout start: 441 MB (43:43/65) = 196640 sectors Current Secsize: 2048 ATIP start of lead in: -150 (00:00/00) Disk type: unknown dye (reserved id code) Manuf. index: -1 Manufacturer: unknown (not in table) Blocks total: 2298496 Blocks current: 2298496 Blocks remaining: 2101856 Starting to write CD/DVD at speed 2 in write 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. trackno=0 BURN-Free is OFF. Performing OPC... Sending CUE sheet... dvdrecord: WARNING: Drive returns wrong startsec (0) using -150 Starting new track at sector: 0 Track 01: 0 of 384 MB written.dvdrecord: Input/output error. write_g1: scsi sendcmd: no error CDB: 2A 00 00 00 01 F0 00 00 1F 00 status: 0x2 (CHECK CONDITION) Sense Bytes: 71 00 03 00 00 00 00 0A 00 00 00 00 0C 00 00 00 Sense Key: 0x3 Medium Error, deferred error, Segment 0 Sense Code: 0x0C Qual 0x00 (write error) Fru 0x0 Sense flags: Blk 0 (not valid) cmd finished after 19.136s timeout 200s write track data: error after 1015808 bytes Sense Bytes: 70 00 00 00 00 00 00 0A 00 00 00 00 00 00 00 00 00 00 Writing time: 60.232s Fixating... Fixating time: 0.102s dvdrecord: fifo had 80 puts and 17 gets. dvdrecord: fifo was 0 times empty and 2 times full, min fill was 81%. |