home *** CD-ROM | disk | FTP | other *** search
/ PC Online 1999 November / PCONLINE_11_99.ISO / filesbbs / OS2 / CDR18A24.ZIP / doc / More-Docs / README.win32 < prev    next >
Encoding:
Text File  |  1999-05-20  |  5.7 KB  |  170 lines

  1. cdrecord-1.8a22 or later can be compiled on Win9X/NT4 using Cygnus' cygwin
  2. which is freely available from:
  3.  
  4.     http://sourceware.cygnus.com/cygwin/
  5.  
  6. To compile on Cygwin32, get Cygwin32-beta20 or later and install it, 
  7. by executing full.exe
  8.  
  9. You will need approx. 39 MB to install a full cygwin developer release.
  10.  
  11. Then create a symlink from /bin to the 'bin' directory 
  12. where bash is located and a symlink from /etc to the 'etc' directory 
  13. where termcap is located. This are very long paths (you may get the
  14. path for /bin by typing 'type bash' on the bash shell prompt but note 
  15. that the path you get with this command is clobbered for DOS).
  16.  
  17. A typical command list for this could look like:
  18.  
  19.     cd /
  20.     ln -s /cygwin/cygwin-b20/etc
  21.     ln -s /cygwin/cygwin-b20/H-i586-cygwin32/bin
  22.  
  23. Note that you may have to modify the paths for you local needs.
  24.  
  25. Get the tar'ed source and unpack it with 'gnutar' or 'star',
  26.  
  27.     don't use winzip to unpack the tar archive, it will not
  28.     unpack symlinks correctly.
  29.  
  30. Now start a bash command line window and run 'make' ... 
  31.  
  32. A bash window is available from the START -> Programs -> Cygnus Solutions
  33. menu.
  34.  
  35. /*--------------------------------------------------------------------------*/
  36. Pre-compiled current 'cdrtools' Win32 binaries which should run on
  37. W95, W98 and WNT are available from:
  38.  
  39.     ftp://ftp.fokus.gmd.de/pub/unix/cdrecord/alpha/win32
  40.  
  41. To use the pre-compiled binary, put the files cygwin1.dll, mount.exe as well
  42. as the files:
  43.  
  44. cdrecord.exe        - The CD recording program
  45. cdda2wav.exe        - The DAE (Digital Audio Extraction) program
  46. mkisofs.exe        - The ISO-9660/Rock Ridge/Joliet Filesystem formatter
  47. readcd.exe        - A simple program to extract CD-ROM raw data to a file
  48.  
  49. in your WINDOWS binary directory and from a Command/MS-DOS (or bash) window
  50. type:
  51.     cdrecord -help
  52.  
  53. for usage, see also:
  54.  
  55. http://www.fokus.gmd.de/research/cc/glone/employees/joerg.schilling/private/man/cdrecord.html
  56.  
  57. All programs in this directory are Unix command line utilities and know
  58. nothing about DOS/WIN. They run in a POSIX subsystem that is supplied by
  59. cygwin1.dll. Therefore all directory names are given in Unix (POSIX) format 
  60. (i.e. use '/' for a directory separator, not '\'). To access files on another 
  61. disks (i.e. floppy, CDROM and network disk), you need to use the supplied "mount"
  62. command e.g.
  63.  
  64.     mount a: /a
  65.     mount d: /cdrom
  66.  
  67. i.e. files on the floppy disk are accessed as being in directory /a and
  68. files on the CDROM are accessed as /cdrom (assuming your CDROM is drive d:)
  69.  
  70. If you don't like to use the mount command, you may use //a/dir as a 
  71. replacement for the DOS directory name a:\dir
  72.  
  73. The following command creates a CD image in the current directory
  74. using a source directories on the CDROM drive, a sub-directory and the
  75. floppy drive:
  76.  
  77.     mkisofs -o hsfs.iso -J -R /cdrom/subdir dir1 /a 
  78.  
  79. If you use the options noted above, the hsfs.iso image is ISO-9660 
  80. compliant and includes both Rock Ridge (IEEE P1282) and 
  81. Joliet (Microsoft proprietary) extensions.
  82.  
  83. If your CD writer is on target 6, type 
  84.  
  85.     cdrecord dev=6,0 -v speed=4 hsfs.iso
  86.  
  87. to write the image at speed 4 in TAO mode, or
  88.  
  89.     cdrecord dev=6,0 -v speed=4 -dao hsfs.iso
  90.  
  91. to write the image in DAO mode.
  92.  
  93. If you don't like to create the image file 'hsfs.iso' you may use a PIPE
  94. to connect mkisofs's output to cdrecord's inout by calling:
  95.  
  96.     mkisofs -J -R /cdrom/subdir dir1 /a | cdrecord dev=6,0 -v speed=4 -
  97.  
  98. /*--------------------------------------------------------------------------*/
  99. If you don't know which target your CD-writer is, call
  100.  
  101.     cdrecord -scanbus
  102.  
  103. This gives output similar to:
  104.  
  105. Cdrecord release 1.8a19 Copyright (C) 1995-1998 J÷rg Schilling
  106. scsibus0:
  107.                   0) 'Quantum ' 'XP34300         ' 'F76D' Disk
  108.                   1) 'SEAGATE ' 'ST11200N        ' '8334' Disk
  109.                   2) *
  110.                   3) 'TOSHIBA ' 'MK537FB/        ' '6258' Disk
  111.                   4) 'WANGTEK ' '5150ES SCSI-36  ' 'ESB6' Removable Tape
  112.                   5) 'EXABYTE ' 'EXB-8500-85QUE  ' '0428' Removable Tape
  113.                   6) 'TOSHIBA ' 'XM-3401TASUNSLCD' '3593' Removable CD-ROM
  114.                   7) *
  115. scsibus1:
  116.                 100) 'IBM     ' 'DCAS-34330      ' 'S65A' Disk
  117.                 101) *
  118.                 102) *
  119.                 103) *
  120.                 104) 'PLEXTOR ' 'CD-R   PX-W4220T' '1f02' Removable CD-ROM
  121.                 105) 'YAMAHA  ' 'CRW4416S        ' '1.0f' Removable CD-ROM
  122.                 106) *
  123.                 107) *
  124.  
  125. The numbers on the labels are SCSIbus# * 100 + target#
  126.  
  127. You then call cdrecord dev=bus#,target#,0
  128.  
  129. If you e.g. like to talk to the Yamaha drive from the list above, you need to
  130. call:
  131.  
  132.     cdrecord dev=1,5,0 ......
  133.  
  134. /*--------------------------------------------------------------------------*/
  135.  
  136.             NOTE
  137.  
  138. If you like to use the tools with SCSI or ATAPI, you need a working 
  139. ASPI32 driver and dll on your system. If you don't have it already, 
  140. look for 'aspi_me'. You need to set you clock back to a time before 
  141. Jan 1st 1999 to be able to install it. Note that 'aspi_me' contains 
  142. original Adaptec drivers and is banned from most ftp servers for this 
  143. reason. 
  144.  
  145.  
  146.             IMPORTANT
  147.  
  148. In order to avoid damaging CD blanks because Win is trying to access
  149. the drive while cdecord writes to it, you definitely should edit
  150. your registry and set the value of
  151.  
  152. HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Cdrom\Autorun
  153.  
  154. to '0'.
  155.  
  156. The Registry entry noted above is valid for WNT, I don't know
  157. if you need to do this for W95 or W98, nor do I know the
  158. correct Registry entry for these systems.
  159.  
  160. /*--------------------------------------------------------------------------*/
  161.  
  162.         For binary only users:
  163.  
  164. If you like a DOS shell that allows to redirect stderr, look for 
  165.  
  166. ftp://ftp.jpsoft.com/4dos
  167.  
  168. Otherwise you may want to install the Cygwin light version which
  169. only includes the user commands.
  170.