home *** CD-ROM | disk | FTP | other *** search
/ Dream 52 / Amiga_Dream_52.iso / Amiga / Workbench / Pilotes / DisqueDur / Park.readme < prev    next >
Text File  |  1998-04-27  |  5KB  |  148 lines

  1. Short:    Park HD units
  2. Author:   thor@math.tu-berlin.de (Thomas Richter)
  3. Uploader: thor@math.tu-berlin.de (Thomas Richter)
  4. Version:  1.01
  5. Type:     disk/misc
  6. Requires: Os 2.04
  7.  
  8. This tool parks or restarts a HD unit, either given by its DOS device name
  9. or the name and unit of the exec device driver. All partitions on the
  10. parked unit will be unaccessible to the dos afterwards. To be able to
  11. restart the HD, "Park" can be made resident.
  12. _____________________________________________________________________________
  13.  
  14. Version 1.01:
  15.  
  16. Added an explicit check whether the handler name supplied does really contain
  17. a colon.
  18. _____________________________________________________________________________
  19.  
  20. Synopsis:
  21.  
  22. Park HANDLER,DEVICE/K,UNIT/N,FLAGS/N,SCSI/S,ON=START/S
  23.  
  24.  
  25. HANDLER:    DOS Device name to be parked, or name of the volume. To 
  26.         restart a unit, this must be the device name.
  27.         This *must* be the name of the dos device driver, i.e.
  28.         a string like "DH0:" or "SYS:".
  29.         
  30. DEVICE:        Alternatively the name of the exec.device, if HANDLER is
  31.         not available. The keyword "DEVICE" must be used for that
  32.         purpose.
  33.         If you DO NOT use the "DEVICE" keyword, the dos.library
  34.         will assign your argument to the "HANDLER" keyword, not
  35.         to this one. Thus, to say that again, IT'S VERY IMPORTANT
  36.         to use the keyword to make this available.
  37.  
  38. UNIT:        The unit number of the exec device. Makes only sense if
  39.         DEVICE keyword is used.
  40.  
  41. FLAGS:        The flags for opening the device. Defaults to zero and is
  42.         usually not required.
  43.  
  44. SCSI:        If given, try to park the unit with direct SCSI commands.
  45.         This should work with all scsi.device compatible device
  46.         drivers.
  47.         If not given, try to use the CMD_START and CMD_STOP.
  48.  
  49.         Unfortunately, most device drivers do not support 
  50.         CMD_START/STOP. The "SCSI" keyword is therefore almost
  51.         always required.
  52.  
  53. ON=START:    Restart the device and the partitions in question.
  54.  
  55. _____________________________________________________________________________
  56.  
  57. Examples:
  58.  
  59. Park all partitions on the oktagon.device, unit 2: 
  60. (The oktagon knowns CMD_STOP, SCSI is not required)
  61.  
  62.     Park device oktagon.device unit 2
  63.  
  64.  
  65. Park all partitions on the gvpscsi.device, unit 6:
  66. (The gvpscsi.device does NOT know the CMD_STOP, SCSI is required)
  67.  
  68.     Park device gvpscsi.device unit 6 scsi
  69.  
  70. The "device" keyword is very important in both cases.
  71.  
  72.  
  73. Park the partition DH0: and all other partitions on the same device:
  74.  
  75.     Park DH0: scsi
  76.  
  77.  
  78. Restart DH0: and all other partitions on that device:
  79.  
  80.     Park DH0: on scsi
  81.  
  82. _____________________________________________________________________________
  83.  
  84.  
  85.                         The THOR-Software Licence
  86.  
  87.  
  88. This License applies to the computer programs known as "Park".
  89. The "Program", below, refers to such program.
  90.  
  91.  
  92. The programs and files in this distribution are freely distributable
  93. under the restrictions stated below, but are also Copyright (c)
  94. Thomas Richter.
  95.  
  96.  
  97. Distribution of the Program by a commercial organization without written
  98. permission from the author to any third party is prohibited if any payment
  99. is made in connection with such distribution, whether directly
  100. (as in payment for a copy of the Program) or indirectly (as in payment
  101. for some service related to the Program, or payment for some product
  102. or service that includes a copy of the Program "without charge";
  103. these are only examples, and not an exhaustive enumeration of prohibited
  104. activities). However, the following methods of distribution involving
  105. payment shall not in and of themselves be a violation of this restriction:
  106.  
  107.  
  108. (i) Posting the Program on a public access information storage and
  109. retrieval service for which a fee is received for retrieving information
  110. (such as an on-line service), provided that the fee is not
  111. content-dependent (i.e., the fee would be the same for retrieving the same
  112. volume of information consisting of random data).
  113.  
  114.  
  115.  
  116. (ii) Distributing the Program on a CD-ROM, provided that the files
  117. containing the Program are reproduced entirely and verbatim on such
  118. CD-ROM, and provided further that all information on such CD-ROM be
  119. redistributable for non-commercial purposes without charge.
  120.  
  121.  
  122.  
  123. Everything in this distribution must be kept together, in original
  124. and unmodified form.
  125.  
  126.  
  127.  
  128.  
  129. Limitations.
  130.  
  131. THE PROGRAM IS PROVIDED TO YOU "AS IS," WITHOUT WARRANTY. THERE IS NO
  132. WARRANTY FOR THE PROGRAM, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT
  133. LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
  134. PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD PARTY RIGHTS. THE ENTIRE
  135. RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD
  136. THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY
  137. SERVICING, REPAIR OR CORRECTION.
  138.  
  139.  
  140.  
  141. IF YOU DO NOT ACCEPT THIS LICENCE, YOU MUST DELETE ALL FILES CONTAINED IN
  142. THIS ARCHIVE.
  143.  
  144. _____________________________________________________________________________
  145.  
  146. Thomas,        
  147.     April 1998
  148.