1 10/17/84  reserve_resource, rsr
 2 
 3 Syntax as a command:  rsr -control_arg
 4 
 5 
 6 Function:  reserves a resource or group of resources for use by the
 7 calling process.  The reservation takes effect immediately and lasts
 8 until canceled by cancel_resource or by process termination.  (See
 9 Section 5 of the Programmer's Reference Manual for more information on
10 resource reservation.)
11 
12 
13 Control arguments:
14 -resource STR, -rsc STR
15    specifies a description of the resources to be reserved.  If the
16    description contains spaces or special characters, enclose it in
17    quotes.  (See "Notes on resource description.")
18 
19 
20 Notes on resource description:  A resource description describes
21 certain devices and volumes by name or by attributes and an optional
22 number.  It has the following format:
23    {-resource_type} resource_spec1...{-resource_type resource_specN}
24 which is a series of at least one resource_spec where all but the first
25 must be preceded by -resource_type (-rsct).
26 
27 
28 The format of a resource_spec can be any of the following--
29    volume_type name1 {names}
30    device_type {names}
31    device_type {-control_args}
32 where:
33 volume_type
34    can be either tape_vol or disk_vol.  You must supply at least one
35    name with volume_type, and it is the name of the volume, for
36    example, 050102.
37 device_type
38    can be either tape_drive or disk_drive; "names" are the names of
39    devices such as tape_01; if you select no names, you can choose from
40    these control arguments:
41 
42 
43    -attributes STR, -attr STR
44       is a list where STR consists of a string of attributes with
45       values separated by commas with no spaces.  For tape drives the
46       attributes are:
47          mode=
48          track=
49          den=
50          speed=
51    For disk drives the only attribute is model=.
52    Use list_resource_types to find suitable values for these
53    attributes.
54    -number N, -nb N
55       is the number of identical resources of the type desired.