ワbersetzt von Eduard Bloch <edi@ka.linux.de>. Fr die Richtigkeit der ワbersetzung wird ke...
ワbersetzt von Eduard Bloch <edi@ka.linux.de>. Fr die Richtigkeit der ワbersetzung wird keine Gew臧r bernommen, lesen Sie bitte ebenfalls das Original von Joerg
Schilling. Sie benutzen diese ワbersetzung auf eigene Gefahr.

cdrecord-1.8a22 oder neuer kann unter Win9X/NT4 mit Hilfe Cygnus' cygwin
kompiliert werden, welches frei unter folgender Adresse verfgbar ist:

http://sourceware.cygnus.com/cygwin/

Um mit Cygwin32 zu kompilieren, besorgen sie sich Cygwin32-beta20 und
installieren Sie es durch das Ausfhren von full.exe.

Sie brauchen ungef臧r 39 MB fr die Vollinstallation der "cygwin
developer release".

Erstellen Sie dann einen Symlink von /bin zu dem 'bin'-Verzeichnis, der die
bash enth舁t und ein Symlink von /etc zu dem 'etc'-Verzeichniss, in dem
termcap liegt. Das sind wirklich lange Pfade (Sie bekommen den Pfad von
/bin mit dem Aufruf 'type bash' am Bash-Shellprompt heraus, aber denken
Sie daran, da゚ der damit erhaltene Pfad von DOS verkrppelt wurde.

Eine typische Liste der Befehle knnte so aussehen:

       cd /
       ln -s /cygwin/cygwin-b20/etc
       ln -s /cygwin/cygwin-b20/H-i586-cygwin32/bin

Sie mssen die Pfade natrlich an die eigene Umgebung anpassen.

Nun starten Sie ein Bash-Kommando-Fenster und fhren 'make' aus.

Das Bash-Fenster wird unter START -> Programs -> Cygnus Solutions
aufgerufen.

// Keine Lust weiterzumachen, sp舩er vielleicht...

/*--------------------------------------------------------------------------*/
Pre-compiled current 'cdrtools' Win32 binaries which should run on
W95, W98 and WNT are available from:

ftp://ftp.fokus.gmd.de/pub/unix/cdrecord/alpha/win32

To use the pre-compiled binary, put the files cygwin1.dll, mount.exe as well
as the files:

cdrecord.exe- The CD recording program
cdda2wav.exe- The DAE (Digital Audio Extraction) program
mkisofs.exe- The ISO-9660/Rock Ridge/Joliet Filesystem formatter
readcd.exe- A simple program to extract CD-ROM raw data to a file

in your WINDOWS binary directory and from a Command/MS-DOS (or bash) window
type:
cdrecord -help

for usage, see also:

http://www.fokus.gmd.de/research/cc/glone/employees/joerg.schilling/private/man/cdrecord.html

All programs in this directory are Unix command line utilities and know
nothing about DOS/WIN. They run in a POSIX subsystem that is supplied by
cygwin1.dll. Therefore all directory names are given in Unix (POSIX) format 
(i.e. use '/' for a directory separator, not '\'). To access files on another 
disks (i.e. floppy, CDROM and network disk), you need to use the supplied "mount"
command e.g.

mount a: /a
mount d: /cdrom

i.e. files on the floppy disk are accessed as being in directory /a and
files on the CDROM are accessed as /cdrom (assuming your CDROM is drive d:)

If you don't like to use the mount command, you may use //a/dir as a 
replacement for the DOS directory name a:\dir

The following command creates a CD image in the current directory
using a source directories on the CDROM drive, a sub-directory and the
floppy drive:

mkisofs -o hsfs.iso -J -R /cdrom/subdir dir1 /a 

If you use the options noted above, the hsfs.iso image is ISO-9660 
compliant and includes both Rock Ridge (IEEE P1282) and 
Joliet (Microsoft proprietary) extensions.

If your CD writer is on target 6, type 

cdrecord dev=6,0 -v speed=4 hsfs.iso

to write the image at speed 4 in TAO mode, or

cdrecord dev=6,0 -v speed=4 -dao hsfs.iso

to write the image in DAO mode.

If you don't like to create the image file 'hsfs.iso' you may use a PIPE
to connect mkisofs's output to cdrecord's inout by calling:

mkisofs -J -R /cdrom/subdir dir1 /a | cdrecord dev=6,0 -v speed=4 -

/*--------------------------------------------------------------------------*/
If you don't know which target your CD-writer is, call

cdrecord -scanbus

This gives output similar to:

Cdrecord release 1.8a19 Copyright (C) 1995-1998 Jrg Schilling
scsibus0:
                  0) 'Quantum ' 'XP34300         ' 'F76D' Disk
                  1) 'SEAGATE ' 'ST11200N        ' '8334' Disk
                  2) *
                  3) 'TOSHIBA ' 'MK537FB/        ' '6258' Disk
                  4) 'WANGTEK ' '5150ES SCSI-36  ' 'ESB6' Removable Tape
                  5) 'EXABYTE ' 'EXB-8500-85QUE  ' '0428' Removable Tape
                  6) 'TOSHIBA ' 'XM-3401TASUNSLCD' '3593' Removable CD-ROM
                  7) *
scsibus1:
                100) 'IBM     ' 'DCAS-34330      ' 'S65A' Disk
                101) *
                102) *
                103) *
                104) 'PLEXTOR ' 'CD-R   PX-W4220T' '1f02' Removable CD-ROM
                105) 'YAMAHA  ' 'CRW4416S        ' '1.0f' Removable CD-ROM
                106) *
                107) *

The numbers on the labels are SCSIbus# * 100 + target#

You then call cdrecord dev=bus#,target#,0

If you e.g. like to talk to the Yamaha drive from the list above, you need to
call:

cdrecord dev=1,5,0 ......

/*--------------------------------------------------------------------------*/

NOTE

If you like to use the tools with SCSI or ATAPI, you need a working 
ASPI32 driver and dll on your system. If you don't have it already, 
look for 'aspi_me'. You need to set you clock back to a time before 
Jan 1st 1999 to be able to install it. Note that 'aspi_me' contains 
original Adaptec drivers and is banned from most ftp servers for this 
reason. 


IMPORTANT

In order to avoid damaging CD blanks because Win is trying to access
the drive while cdecord writes to it, you definitely should edit
your registry and set the value of

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Cdrom\Autorun

to '0'.

The Registry entry noted above is valid for WNT, I don't know
if you need to do this for W95 or W98, nor do I know the
correct Registry entry for these systems.

/*--------------------------------------------------------------------------*/

For binary only users:

If you like a DOS shell that allows to redirect stderr, look for 

ftp://ftp.jpsoft.com/4dos

Otherwise you may want to install the Cygwin light version which
only includes the user commands.