1daf1cffcSMatt Jacob.\" Copyright (c) 2000 Matthew Jacob 2daf1cffcSMatt Jacob.\" All rights reserved. 3daf1cffcSMatt Jacob.\" 4daf1cffcSMatt Jacob.\" Redistribution and use in source and binary forms, with or without 5daf1cffcSMatt Jacob.\" modification, are permitted provided that the following conditions 6daf1cffcSMatt Jacob.\" are met: 7daf1cffcSMatt Jacob.\" 1. Redistributions of source code must retain the above copyright 8daf1cffcSMatt Jacob.\" notice, this list of conditions, and the following disclaimer, 9daf1cffcSMatt Jacob.\" without modification, immediately at the beginning of the file. 10daf1cffcSMatt Jacob.\" 2. The name of the author may not be used to endorse or promote products 11daf1cffcSMatt Jacob.\" derived from this software without specific prior written permission. 12daf1cffcSMatt Jacob.\" 13daf1cffcSMatt Jacob.\" Alternatively, this software may be distributed under the terms of the 14daf1cffcSMatt Jacob.\" the GNU Public License ("GPL"). 15daf1cffcSMatt Jacob.\" 16daf1cffcSMatt Jacob.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 17daf1cffcSMatt Jacob.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 18daf1cffcSMatt Jacob.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 19daf1cffcSMatt Jacob.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR 20daf1cffcSMatt Jacob.\" ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 21daf1cffcSMatt Jacob.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 22daf1cffcSMatt Jacob.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 23daf1cffcSMatt Jacob.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 24daf1cffcSMatt Jacob.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 25daf1cffcSMatt Jacob.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 26daf1cffcSMatt Jacob.\" SUCH DAMAGE. 27daf1cffcSMatt Jacob.\" 28daf1cffcSMatt Jacob.\" Matthew Jacob 29daf1cffcSMatt Jacob.\" Feral Software 30daf1cffcSMatt Jacob.\" mjacob@feral.com 316b806d21SRuslan Ermilov.\" 32daf1cffcSMatt Jacob.Dd February 21, 2000 33daf1cffcSMatt Jacob.Dt SETOBJSTAT 8 34daf1cffcSMatt Jacob.Os 35daf1cffcSMatt Jacob.Sh NAME 36daf1cffcSMatt Jacob.Nm setobjstat 37daf1cffcSMatt Jacob.Nd set SCSI Environmental Services Device object status 38daf1cffcSMatt Jacob.Sh SYNOPSIS 39daf1cffcSMatt Jacob.Nm 40daf1cffcSMatt Jacob.Ar device objectid stat0 stat1 stat2 stat3 41daf1cffcSMatt Jacob.Sh DESCRIPTION 42daf1cffcSMatt Jacob.Nm 43daf1cffcSMatt Jacobsets the object status for a SCSI Environmental Services (or SAF-TE) device. 44daf1cffcSMatt JacobThe 45daf1cffcSMatt Jacob.Ar objectid 46daf1cffcSMatt Jacobargument may be determined by running 47daf1cffcSMatt Jacob.Xr getencstat 8 . 48daf1cffcSMatt Jacob.Pp 49daf1cffcSMatt JacobThe status fields are partially common (first byte only, which must 50daf1cffcSMatt Jacobhave a value of 0x80 contained in it), but otherwise quite device 515203edcdSRuslan Ermilovspecific. 525203edcdSRuslan ErmilovA complete discussion of the possible values is impractical 535203edcdSRuslan Ermilovhere. 545203edcdSRuslan ErmilovPlease refer to the ANSI SCSI specification (available on 55daf1cffcSMatt Jacobthe FTP site ftp.t10.org). 56daf1cffcSMatt Jacob.Pp 57daf1cffcSMatt JacobNote that devices may simply and silently ignore the setting of these values. 58daf1cffcSMatt Jacob.Sh FILES 59daf1cffcSMatt Jacob.Bl -tag -width /dev/sesN -compact 60daf1cffcSMatt Jacob.It Pa /dev/ses\fIN\fR 61daf1cffcSMatt JacobSCSI Environmental Services Devices 62daf1cffcSMatt Jacob.El 63daf1cffcSMatt Jacob.Sh SEE ALSO 64daf1cffcSMatt Jacob.Xr ses 4 , 65daf1cffcSMatt Jacob.Xr getencstat 8 , 665521ff5aSRuslan Ermilov.Xr sesd 8 , 67daf1cffcSMatt Jacob.Xr setencstat 8 68daf1cffcSMatt Jacob.Sh BUGS 69