home *** CD-ROM | disk | FTP | other *** search
/ linuxmafia.com 2016 / linuxmafia.com.tar / linuxmafia.com / pub / linux / backup / star-1.3.1.tar.gz / star-1.3.1.tar / star-1.3.1 / README.win32 < prev    next >
Text File  |  2001-05-31  |  6KB  |  186 lines

  1. # @(#)README.win32    1.4 01/06/01 Copyright 2000 J. Schilling
  2.  
  3. cdrecord-1.8a22 or later can be compiled on Win9X/NT4 using Cygnus' cygwin
  4. which is freely available from:
  5.  
  6.     http://sourceware.cygnus.com/cygwin/
  7. or
  8.     http://sources.redhat.com/cygwin/
  9.  
  10. To compile on Cygwin, get Cygwin by executing setup.exe
  11.  
  12. You will need approx. 120 MB to install a full cygwin developer release.
  13.  
  14. Get the tar'ed cdrtools source and unpack it with 'gnutar' or 'star',
  15.  
  16. e.g. Start a bash command line window and type:
  17.  
  18.     star -xpz < cdrtools-1.10.tar.gz
  19.  
  20.     don't use winzip to unpack the tar archive, it will not
  21.     unpack symlinks correctly.
  22.  
  23. Then (from the bash command line window) run 'make' ... 
  24.  
  25. If you have problems with GNU make, get 'smake' from:
  26.  
  27.     ftp://ftp.fokus.gmd.de/pub/unix/smake/alpha/
  28.  
  29. /*--------------------------------------------------------------------------*/
  30. A bash window is available from the START -> Programs -> Cygnus Solutions
  31. menu or by clicking at the Cygwin Logo on the desktop.
  32. /*--------------------------------------------------------------------------*/
  33. Pre-compiled current 'cdrtools' Win32 binaries which should run on
  34. W95, W98 and WNT are available from:
  35.  
  36.     ftp://ftp.fokus.gmd.de/pub/unix/cdrecord/alpha/win32
  37.  
  38. To use the pre-compiled binary, put the files cygwin1.dll, mount.exe as well
  39. as the files:
  40.  
  41. cdrecord.exe        - The CD recording program
  42. cdda2wav.exe        - The DAE (Digital Audio Extraction) program
  43. mkisofs.exe        - The ISO-9660/Rock Ridge/Joliet Filesystem formatter
  44. readcd.exe        - A simple program to extract CD-ROM raw data to a file
  45.  
  46. in your WINDOWS binary directory and from a Command/MS-DOS (or bash) window
  47. type:
  48.     cdrecord -help
  49.  
  50. for usage, see also:
  51.  
  52. http://www.fokus.gmd.de/research/cc/glone/employees/joerg.schilling/private/man/cdrecord.html
  53.  
  54. All programs in this directory are Unix command line utilities and know
  55. nothing about DOS/WIN. They run in a POSIX subsystem that is supplied by
  56. cygwin1.dll. Therefore all directory names are given in Unix (POSIX) format 
  57. (i.e. use '/' for a directory separator, not '\'). To access files on another 
  58. disks (i.e. floppy, CDROM and network disk), you need to use the supplied "mount"
  59. command e.g.
  60.  
  61.     mount a: /a
  62.     mount d: /cdrom
  63.  
  64. i.e. files on the floppy disk are accessed as being in directory /a and
  65. files on the CDROM are accessed as /cdrom (assuming your CDROM is drive d:)
  66.  
  67. Yu may also use the new /cygpath notation by typing /cygpath/a for
  68. your local floppy.
  69.  
  70. The notation //a/dir as a replacement for the DOS directory name a:\dir
  71. may not work in future releases of Cygwin.
  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 input by calling:
  95.  
  96.     mkisofs -J -R /cdrom/subdir dir1 /a | cdrecord dev=6,0 -v speed=4 -
  97.  
  98. IMPORTANT NOTE:    If you use PIPE's on Win32, you definitely need a POSIX
  99.         compliant shell to start the programs. Native Win32 PIPE's
  100.         are not POSIX compliant and will not work with POSIX compliant
  101.         programs.
  102.  
  103. /*--------------------------------------------------------------------------*/
  104. If you don't know which target your CD-writer is, call
  105.  
  106.     cdrecord -scanbus
  107.  
  108. This gives output similar to:
  109.  
  110. Cdrecord-ProDVD sparc-sun-solaris2.4 release 1.8a39 Copyright (C) 1995-2000 J÷rg Schilling
  111. Using libscg version 'schily-0.1'
  112. scsibus0:
  113.     0,0,0      0) 'Quantum ' 'XP34300         ' 'F76D' Disk
  114.     0,1,0      1) 'SEAGATE ' 'ST11200N        ' '8334' Disk
  115.     0,2,0      2) *
  116.     0,3,0      3) 'TOSHIBA ' 'MK537FB/        ' '6258' Disk
  117.     0,4,0      4) 'WANGTEK ' '5150ES SCSI-36  ' 'ESB6' Removable Tape
  118.     0,5,0      5) 'EXABYTE ' 'EXB-8500-85QUE  ' '0428' Removable Tape
  119.     0,6,0      6) 'TOSHIBA ' 'XM-3401TASUNSLCD' '3593' Removable CD-ROM
  120.     0,7,0      7) HOST ADAPTOR
  121. scsibus1:
  122.     1,0,0    100) 'IBM     ' 'DCAS-34330      ' 'S65A' Disk
  123.     1,1,0    101) *
  124.     1,2,0    102) *
  125.     1,3,0    103) *
  126.     1,4,0    104) 'PLEXTOR ' 'CD-R   PX-W8220T' '1.00' Removable CD-ROM
  127.     1,5,0    105) 'YAMAHA  ' 'CRW4416S        ' '1.0f' Removable CD-ROM
  128.     1,6,0    106) *
  129.     1,7,0    107) HOST ADAPTOR
  130.  
  131. The numbers on the labels are SCSIbus# * 100 + target#
  132.  
  133. You then call cdrecord dev=bus#,target#,0
  134.  
  135. If you e.g. like to talk to the Yamaha drive from the list above, you need to
  136. call:
  137.  
  138.     cdrecord dev=1,5,0 ......
  139.  
  140. /*--------------------------------------------------------------------------*/
  141.  
  142.             NOTE
  143.  
  144. If you like to use the tools with SCSI or ATAPI, you need a working 
  145. ASPI32 driver and dll on your system. If you don't have it already, 
  146. look for 'aspi_me'. You need to set you clock back to a time before 
  147. Jan 1st 1999 to be able to install it. Note that 'aspi_me' contains 
  148. original Adaptec drivers and is banned from most ftp servers for this 
  149. reason. 
  150.  
  151. You need a special ASPI driver version on NT-5.0 (Win2000)
  152. You may get one by downloading
  153.  
  154.     http://www.poikosoft.com/writer/download.html
  155.  
  156. and unpacking the file mightywriter121.exe using unzip.
  157. after you renamed ntaspi32.dll to wnaspi32.dll, cdrecord should work.
  158.  
  159.  
  160.             IMPORTANT
  161.  
  162. In order to avoid damaging CD blanks because Win is trying to access
  163. the drive while cdrecord writes to it, you definitely should edit
  164. your registry and set the value of
  165.  
  166. HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Cdrom\Autorun
  167.  
  168. to '0'.
  169.  
  170. The Registry entry noted above is valid for WNT, I don't know
  171. if you need to do this for W95 or W98, nor do I know the
  172. correct Registry entry for these systems.
  173.  
  174. /*--------------------------------------------------------------------------*/
  175.  
  176.         For binary only users:
  177.  
  178. Error messages and help output is directed to stderr. Win32 command
  179. interpreters don't know about stderr. I recommend to install bash.exe
  180. because it is a POSIX compliant shell and allow working PIPE's and
  181. it also gives you a command line history that may be edited using
  182. cursor commands.
  183.  
  184. Otherwise you may want to install the Cygwin light version which
  185. only includes the user commands.
  186.