| .TH SG_STPG "8" "August 2007" "sg3_utils\-1.25" SG3_UTILS |
| .SH NAME |
| sg_stpg \- sends a SCSI SET TARGET PORT GROUPS command |
| .SH SYNOPSIS |
| .B sg_stpg |
| [\fI\-\-active\fR] [\fI\-\-help\fR] [\fI\-\-hex\fR] [\fI\-\-offline\fR] |
| [\fI\-\-optimized\fR] [\fI\-\-raw\fR] [\fI\-\-standby\fR] |
| [\fI\-\-unavailable\fR] [\fI\-\-verbose\fR] [\fI\-\-version\fR] \fIDEVICE\fR |
| .SH DESCRIPTION |
| .\" Add any additional description here |
| .PP |
| Send a SCSI SET TARGET PORT GROUPS command to \fIDEVICE\fR. |
| .PP |
| Target port group access is described in SPC\-4 found at www.t10.org |
| in section 5.8 (in rev 11 dated 2007/5/14). The Set Target Port |
| Groups command is also described in that document. |
| .PP |
| xxxxxxxxxxxxxx Placeholder more to add xxxxxxxxxxxxxxxxxx |
| .SH OPTIONS |
| Arguments to long options are mandatory for short options as well. |
| .TP |
| \fB\-h\fR, \fB\-\-help\fR |
| output the usage message then exit. |
| .TP |
| \fB\-H\fR, \fB\-\-hex\fR |
| output response in hex (rather than partially or fully decode it). |
| .TP |
| \fB\-r\fR, \fB\-\-raw\fR |
| output response in binary to stdout. |
| .TP |
| \fB\-v\fR, \fB\-\-verbose\fR |
| increase the level of verbosity, (i.e. debug output). |
| .TP |
| \fB\-V\fR, \fB\-\-version\fR |
| print the version string and then exit. |
| .SH NOTES |
| The Set Target Port Groups command should be supported whenever the TPGS |
| bits in a standard INQUIRY response are greater than zero. [View with |
| sg_inq utility.] |
| .SH EXIT STATUS |
| The exit status of sg_stpg is 0 when it is successful. Otherwise see |
| the sg3_utils(8) man page. |
| .SH AUTHORS |
| Written by Douglas Gilbert. |
| .SH "REPORTING BUGS" |
| Report bugs to <dgilbert at interlog dot com>. |
| .SH COPYRIGHT |
| Copyright \(co 2007 Hannes Reinecke, Christophe Varoqui and Douglas Gilbert |
| .br |
| This software is distributed under a FreeBSD license. There is NO |
| warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
| .SH "SEE ALSO" |
| .B sg_inq, sg_rtpg (sg3_utils) |