| 
    カーネルコンフィグの確認/再構築
     
      以下のカーネルパラメータを、y or m にします。
      SCSI support -> SCSI generic support
      Block devices -> Loopback device support
     cdrecord の make
     
       デフォルトでは、/opt/schily/bin にインストールしますので、
           DEFAULTS/Defaults.linux を検討してから make をした方が
           良いです。
       ./Gmake.linux
       ./Gmake.linux install
     詳細は、man で確認してね。
    音楽用CD
         cdrecord -v speed=1 dev=0,4,0 -audio -pad track1.wav track2.wav (略) track11.wav
    以下、データCD
    iso9660形式のファイルを作成します。mkisofs -J -T -v -r -V JPG990912 -o /home1/cdrtmp/iso9660.file
                                                    /home2/cdrtmp/
 (mkisofs -R -T -v -r -V cdromname -o /home1/cdrtmp/iso9660.file
                                                    /home2/cdrtmp/)
 
作成した iso9660形式のファイルのチェックをします。mount -t iso9660 -o ro,loop=/dev/loop0 /home1/cdrtmp/iso9660.file /mnt
作成した iso9660形式のファイルを書き込みます。cdrecord -v speed=4 dev=1,5,0 /home1/cdrtmp/iso9660.file
 (cdrecord -v speed=2 dev=3,0 /usr/src/PJE-0.1.2)
 
 
          dev=device[scsibus/target/lun]
               dmesg: scsiN : scsibus
               target       :Target 5
               lun          : lun 0
        以下は、書き込み時のログです。
[root@vc586m /opt]# cdrecord -v speed=4 dev=1,5,0 /home1/cdrtmp/iso9660.file 
Cdrecord release 1.8a24 Copyright (C) 1995-1999 Jg Schilling
TOC Type: 1 = CD-ROM
scsidev: '1,5,0'
scsibus: 1 target: 5 lun: 0
atapi: 0
Device type    : Removable CD-ROM
Version        : 2
Response Format: 2
Capabilities   : SYNC 
Vendor_info    : 'YAMAHA  '
Identifikation : 'CRW4416S        '
Revision       : '1.0f'
Device seems to be: Generic mmc CD-RW.
Using generic SCSI-3/mmc CD-R driver (mmc_cdr).
Driver flags   : SWABAUDIO
Drive buf size : 1566432 = 1529 KB
FIFO size      : 4194304 = 4096 KB
Track 01: data  599 MB        
Total size:     688 MB (68:11.06) = 306830 sectors
Lout start:     688 MB (68:13/05) = 306830 sectors
Current Secsize: 2048
ATIP info from disk:
  Indicated writing power: 5
  Is not unrestricted
  Is not erasable
  ATIP start of lead in:  -11640 (97:26/60)
  ATIP start of lead out: 337350 (75:00/00)
Disk type: Cyanine, AZO or similar
Manuf. index: 3
Manufacturer: CMC Magnetics Corporation
Blocks total: 337350 Blocks current: 337350 Blocks remaining: 30520
RBlocks total: 349030 RBlocks current: 349030 RBlocks remaining: 42200
Starting to write CD/DVD at speed 4 in write mode for single session.
Last chance to quit, starting real write in 1 seconds.
Waiting for reader process to fill input-buffer ... input-buffer ready.
Starting new track at sector: 0
Track 01: 599 of 599 MB written (fifo 100%).
Track 01: Total bytes read/written: 628383744/628383744 (306828 sectors).
Writing  time: 1044.080s
Fixating...
Fixating time:   68.536s
cdrecord: fifo had 19177 puts and 19177 gets.
cdrecord: fifo was 0 times empty and 18995 times full, min fill was 96%.
 |