Guardian Procedure Calls Reference Manual

devname:maxlen
output: input
STRING .EXT:ref:*, INT:value
if supplied and if maxlen is not 0, returns a local name (that is, a name that does not include
a node name) designating the device. The returned name has no qualifiers.
If the device does not have a name, a devname-len of 0 is returned. A devname in the form
$logical-device-number is never returned.
maxlen specifies the length (in bytes) of the string variable devname.
devname-len
output
INT .EXT:ref:1
returns the actual length (in bytes) of the name returned in devname. If the device does not
have a name, a devname-len of 0 is returned.
This parameter must be present if devname is present.
error-detail
output
INT .EXT:ref:1
for some returned errors, contains additional information. See Returned Value.
Returned Value
INT
Outcome of the call:
Information was successfully returned.0
(reserved)1
Parameter error; error-detail contains the number of the first parameter found to be in error, where 1
designates the first parameter on the left.
2
Bounds error; error-detail contains the number of the first parameter found to be in error, where 1
designates the first parameter on the left.
3
Device not found; error-detail contains a file-system error number.4
Buffer too small. This error applies only to the devname:maxlen parameter.5
Device Attributes and Value Representations
This set of attributes is returned in logical-info if that parameter is present:
TAL Value RepresentationAttribute
INT(32)ldev
INTprimary-processor
INTprimary-PIN
INTbackup-processor
INTbackup-PIN
INTtype
INTsubtype
INTrecord-size
UNSIGNED(1)audited
UNSIGNED(1)dynamically-configured
304 Guardian Procedure Calls (D-E)