home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Dream 52
/
Amiga_Dream_52.iso
/
Amiga
/
Workbench
/
Pilotes
/
DisqueDur
/
Park.lha
/
Park
/
Park.readme
< prev
next >
Wrap
Text File
|
1998-04-19
|
5KB
|
148 lines
Short: Park HD units
Uploader: thor@math.tu-berlin.de (Thomas Richter)
Author: thor@math.tu-berlin.de (Thomas Richter)
Type: disk/misc
Version: 1.01
Requires: Os 2.04
This tool parks or restarts a HD unit, either given by its DOS device name
or the name and unit of the exec device driver. All partitions on the
parked unit will be unaccessible to the dos afterwards. To be able to
restart the HD, "Park" can be made resident.
_____________________________________________________________________________
Version 1.01:
Added an explicit check whether the handler name supplied does really contain
a colon.
_____________________________________________________________________________
Synopsis:
Park HANDLER,DEVICE/K,UNIT/N,FLAGS/N,SCSI/S,ON=START/S
HANDLER: DOS Device name to be parked, or name of the volume. To
restart a unit, this must be the device name.
This *must* be the name of the dos device driver, i.e.
a string like "DH0:" or "SYS:".
DEVICE: Alternatively the name of the exec.device, if HANDLER is
not available. The keyword "DEVICE" must be used for that
purpose.
If you DO NOT use the "DEVICE" keyword, the dos.library
will assign your argument to the "HANDLER" keyword, not
to this one. Thus, to say that again, IT'S VERY IMPORTANT
to use the keyword to make this available.
UNIT: The unit number of the exec device. Makes only sense if
DEVICE keyword is used.
FLAGS: The flags for opening the device. Defaults to zero and is
usually not required.
SCSI: If given, try to park the unit with direct SCSI commands.
This should work with all scsi.device compatible device
drivers.
If not given, try to use the CMD_START and CMD_STOP.
Unfortunately, most device drivers do not support
CMD_START/STOP. The "SCSI" keyword is therefore almost
always required.
ON=START: Restart the device and the partitions in question.
_____________________________________________________________________________
Examples:
Park all partitions on the oktagon.device, unit 2:
(The oktagon knowns CMD_STOP, SCSI is not required)
Park device oktagon.device unit 2
Park all partitions on the gvpscsi.device, unit 6:
(The gvpscsi.device does NOT know the CMD_STOP, SCSI is required)
Park device gvpscsi.device unit 6 scsi
The "device" keyword is very important in both cases.
Park the partition DH0: and all other partitions on the same device:
Park DH0: scsi
Restart DH0: and all other partitions on that device:
Park DH0: on scsi
_____________________________________________________________________________
The THOR-Software Licence
This License applies to the computer programs known as "Park".
The "Program", below, refers to such program.
The programs and files in this distribution are freely distributable
under the restrictions stated below, but are also Copyright (c)
Thomas Richter.
Distribution of the Program by a commercial organization without written
permission from the author to any third party is prohibited if any payment
is made in connection with such distribution, whether directly
(as in payment for a copy of the Program) or indirectly (as in payment
for some service related to the Program, or payment for some product
or service that includes a copy of the Program "without charge";
these are only examples, and not an exhaustive enumeration of prohibited
activities). However, the following methods of distribution involving
payment shall not in and of themselves be a violation of this restriction:
(i) Posting the Program on a public access information storage and
retrieval service for which a fee is received for retrieving information
(such as an on-line service), provided that the fee is not
content-dependent (i.e., the fee would be the same for retrieving the same
volume of information consisting of random data).
(ii) Distributing the Program on a CD-ROM, provided that the files
containing the Program are reproduced entirely and verbatim on such
CD-ROM, and provided further that all information on such CD-ROM be
redistributable for non-commercial purposes without charge.
Everything in this distribution must be kept together, in original
and unmodified form.
Limitations.
THE PROGRAM IS PROVIDED TO YOU "AS IS," WITHOUT WARRANTY. THERE IS NO
WARRANTY FOR THE PROGRAM, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD PARTY RIGHTS. THE ENTIRE
RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD
THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY
SERVICING, REPAIR OR CORRECTION.
IF YOU DO NOT ACCEPT THIS LICENCE, YOU MUST DELETE ALL FILES CONTAINED IN
THIS ARCHIVE.
_____________________________________________________________________________
Thomas,
April 1998