●NetBSDでCD-Rを焼く pkgsrcからcdrecordをインストール。 mkisofsなども全部このパッケージに含まれている。 @ データ編 まずisoイメージの作成。 cocoa# mkisofs -r -T -J -o /dos/e/image.iso /dos/d/data cocoa% ls -l /dos/e/image.iso -rwxr-xr-x 1 root wheel 351956992 Feb 4 15:39 /dos/e/image.iso そして、焼く。 cocoa*# cdrecord -v speed=8 dev=/dev/cd1d:0,4,0 /dos/e/image.iso Cdrecord 1.9 (i386-unknown-netbsd1.5R) Copyright (C) 1995-2000 Jg Schilling TOC Type: 1 = CD-ROM scsidev: '/dev/cd1d:0,4,0' devname: '/dev/cd1d' scsibus: 0 target: 4 lun: 0 Using libscg version 'schily-0.1' atapi: 0 Device type : Removable CD-ROM Version : 2 Response Format: 2 Capabilities : SYNC LINKED Vendor_info : 'PLEXTOR ' Identifikation : 'CD-R PX-W8220T' Revision : '1.01' Device seems to be: Generic mmc CD-RW. Using generic SCSI-3/mmc CD-R driver (mmc_cdr). Driver flags : SWABAUDIO Drive buf size : 2373168 = 2317 KB FIFO size : 4194304 = 4096 KB Track 01: data 335 MB Total size: 385 MB (38:11.41) = 171856 sectors Lout start: 385 MB (38:13/31) = 171856 sectors Current Secsize: 2048 ATIP info from disk: Indicated writing power: 4 Is not unrestricted Is not erasable Disk sub type: Medium Type B, low Beta category (B-) (4) ATIP start of lead in: -11752 (97:25/23) ATIP start of lead out: 335100 (74:30/00) Disk type: Long strategy type (Cyanine, AZO or similar) Manuf. index: 8 Manufacturer: Hitachi Maxell, Ltd. Blocks total: 335100 Blocks current: 335100 Blocks remaining: 163244 Starting to write CD/DVD at speed 8 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. Performing OPC... Starting new track at sector: 0 Track 01: 335 of 335 MB written (fifo 100%). Track 01: Total bytes read/written: 351956992/351956992 (171854 sectors). Writing time: 296.303s Fixating... Fixating time: 33.868s cdrecord: fifo had 5729 puts and 5729 gets. cdrecord: fifo was 0 times empty and 5645 times full, min fill was 97%.