5.8 AUTOMOUNT (Tape automount root directory)

5.8.1 Function

Specifies the host system directory where the guest is allowed or not allowed to automatically load virtual
tape volumes from. Prefix allowable directories with a '+' (plus) sign and unallowable directories with a '-'
(minus) sign. The default prefix if neither is specified is the '+' sign (an allowable directory).

All host system virtual tape volumes to be automounted by the guest must reside within one of the speci-
fied allowable host system directories or any of its subdirectories while not also being within any of the
specified unallowable directories or any of their subdirectories, in order for the guest-invoked automount
to be accepted.

Specifying a disallowed automount directory does not preclude the Hercules operator from manually
mounting any file via the DEVINIT console command - even one in a currently defined disallowed auto-
mount directory. The AUTOMOUNT statement only controls guest-invoked automatic tape mounts and
not manual tape mounts performed by the Hercules operator.

All directories must be specified on separate statements, but as many statements as needed may be
specified in order to describe the desired allowable/unallowable directories layout. For convenience, an
AUTOMOUNT console command is also provided to dynamically add new or remove existing automount
directories at any time.

The automount feature is activated whenever you specify at least one allowable or unallowable directory.
If only unallowable directories are specified, then the current directory becomes the only defined allow-
able automount directory by default.

All specified directories are always resolved to fully-qualified absolute directory paths before being saved.

Caution: Enabling this feature may have security consequences depending on which allowable host
system directories you specify as well as how your guest operating system enforces authorized use of the
Set Diagnose (X'4B') channel command code.

Refer to the description of the virtual tape device 'NOAUTOMOUNT' option for more information.

5.8.2 Syntax

Descriptive

[
+ - ]directory


or

directory directory

Diagram




~¬¬¬ + ¬¬¬®

¦¬¬¬¬¬¬¬¬¬¦¬¬¬ directory ¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬ÊÍ




-


or

directory ¬¬¬§¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬ÊÍ




directory

5.8.3 Parameter

ADD or +

Add an entry to the list of allowable tape automount directories.

DEL or -

Delete an entry from the list of allowable tape automount directories.

directory

Specifies the host system directory where the guest is allowed or not to automati-
cally load virtual tape volumes from.

5.8.4 Examples

Example 1:

Specify directory “D:\MVS\TAPE” as the host system directory from where the guest is allowed to
automatically load virtual tape volumes.

AUTOMOUNT +D:/MVS/TAPE

or

AUTOMAOUNT ADD D:/MVS/TAPE

Previous Page Next Page