SCSI Target Mode Framework Library Functions
stmfCreateLuResource(3STMF)
NAME
stmfCreateLuResource - create new logical unit resource
SYNOPSIS
cc [ flag... ] file... -lstmf [ library... ]
#include
int stmfCreateLuResource(uint16_t dType, luResource *hdl);
PARAMETERS
dType The device type of the logical unit resource. OnlySTMF_DISK is currently supported.
hdl The logical unit resource to be created.DESCRIPTION
The stmfCreateLuResource() function creates a resource for
setting properties of a logical unit for purposes of creat-
ing a logical unit in STMF.RETURN VALUES
The following values are returned:STMF_ERROR_INVALID_ARG Either type is unrecognized or hdl
was NULL.STMF_STATUS_SUCCESS The API call was successful.
ATTRIBUTES
See attributes(5) for descriptions of the following attri-
butes:____________________________________________________________
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|_____________________________|_____________________________|
| Interface Stability | Committed ||_____________________________|_____________________________|
| MT-Level | Safe |
|_____________________________|_____________________________|
SEE ALSO
libstmf(3LIB), attributes(5)SunOS 5.11 Last change: 8 May 2009 1
SCSI Target Mode Framework Library FunctionsstmfCreateLuResource(3STMF)
SunOS 5.11 Last change: 8 May 2009 2