MPE/iX Intrinsics Reference Manual (32650-90875)
462 Chapter8
Command Definitions (HPMERGEEND-LOGSTATUS)
HPVOLINFO
Item 6 may be used to determine the maximum number of names that can
be returned.
When the specifier is 2 or 3, the list of member volumes that make up the
set or class is returned. When the specifier is 5, the list of member volumes
configured with the passed device class is returned.
On MPE/iX, you can remove some or all of the volumes in a volume set
(excluding the master volume). Therefore, this list depends on the number
of volumes you have mounted at the time the intrinsic call is made.
On MPE/iX, a volume class need not include the master volume. As a
result, specifier 3 may return a list that does not include the master
volume.
On MPE V, the concept of master and member volumes refers only to
private volumes. Therefore, if the system volume set is specified, the count
consists of the number of volumes that are designated as system volumes.
8 Drive type
Function = MPE/iX, MPE V: DSTAT
Returns the type of the drive specified. The drive type refers to the name of
the drive (for example: HP7935, HP7937). The character array that is used
must be large enough to contain the longest type string, currently 13
characters.
9 Drive sector size
Returns the logical sector size of the specified drive. This item returns a
32-bit signed integer containing the drive's local sector size in bytes.
Currently, this logical size is 256 bytes. In the future, however, disks may
have different physical sector sizes. MPE will map them to system-wide
logical sector sizes.
10 Volume type
This item returns a 32-bit integer specifying the volume type. Valid types
are:
1 - System volume 2 - Nonsystem volume
On MPE, there are two types of volume sets: the system volume set and
nonsystem volume sets. A volume from the system volume set is
considered a system volume; a volume from the nonsystem set is
considered a nonsystem volume. A nonsystem set on MPE/iX is equivalent
to a private volume set on MPE V.
11 Volume name
Function = MPE V: VINIT with PLABEL
Returns the volume name of the specified LDEV. This item is a character
array and must be specified with a length of 32 bytes.
12 Volume set name