stmfCreateLuResource - create new logical unit resource
cc [ flag... ] file... -lstmf [ library... ] #include <libstmf.h> int stmfCreateLuResource(uint16_t dType, luResource *hdl);
The device type of the logical unit resource. Only STMF_DISK is currently supported.
The logical unit resource to be created.
The stmfCreateLuResource() function creates a resource for setting properties of a logical unit for purposes of creating a logical unit in STMF.
The following values are returned:
Either type is unrecognized or hdl was NULL.
The API call was successful.
See attributes(5) for descriptions of the following attributes: