stmfValidateView man page on OpenIndiana

Man page or keyword search:  
man Server   20441 pages
apropos Keyword Search (all sections)
Output format
OpenIndiana logo
[printable version]

stmfValidateView(SCSIFTarget Mode Framework Library FunstmfValidateView(3STMF)

NAME
       stmfValidateView - remove a target port from an target port group

SYNOPSIS
       cc [ flag... ] file... lstmf [ library... ]
       #include <libstmf.h>

       int stmfValidateView(stmfViewEntry *view);

PARAMETERS
       view    The view entry to validate or get the logical number.

DESCRIPTION
       The stmfValidateView() function validates the logical unit number. This
       is done by setting view->luNbrValid to B_TRUE and  setting  view->luNbr
       to the logical unit number. A valid logical unit number is in the range
       of 0-16383.

       The stmfValidateView() function finds the next available	 logical  unit
       numbere	by setting view->luNbrValid to B_FALSE. On success, the avail‐
       able logical unit number is returned in	view->luNbr.  A	 logical  unit
       number is considered to be available if it is not currently consumed by
       an existing view entry where the target group and  host	group  matches
       the view entry passed into this function. Until the logical unit number
       is no longer available, any calls to this function will	get  the  same
       logical unit number in view->luNbr.

RETURN VALUES
       The following values are returned:

       STMF_ERROR_LUN_IN_USE	The  specified	logical unit number is already
				in use for this logical unit.

       STMF_STATUS_SUCCESS	The API call was successful.

ATTRIBUTES
       See attributes(5) for descriptions of the following attributes:

       ┌─────────────────────────────┬─────────────────────────────┐
       │      ATTRIBUTE TYPE	     │	    ATTRIBUTE VALUE	   │
       ├─────────────────────────────┼─────────────────────────────┤
       │Interface Stability	     │Committed			   │
       ├─────────────────────────────┼─────────────────────────────┤
       │MT-Level		     │Safe			   │
       └─────────────────────────────┴─────────────────────────────┘

SEE ALSO
       libstmf(3LIB), stmfAddViewEntry(3STMF), attributes(5)

SunOS 5.11			  1 Oct 2009	       stmfValidateView(3STMF)
[top]

List of man pages available for OpenIndiana

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net