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.\" [email protected] 31*6b806d21SRuslan Ermilov.\" 32*6b806d21SRuslan Ermilov.\" $FreeBSD$ 33*6b806d21SRuslan Ermilov.\" 34daf1cffcSMatt Jacob.Dd February 21, 2000 35daf1cffcSMatt Jacob.Dt SETOBJSTAT 8 36daf1cffcSMatt Jacob.Os 37daf1cffcSMatt Jacob.Sh NAME 38daf1cffcSMatt Jacob.Nm setobjstat 39daf1cffcSMatt Jacob.Nd set SCSI Environmental Services Device object status 40daf1cffcSMatt Jacob.Sh SYNOPSIS 41daf1cffcSMatt Jacob.Nm 42daf1cffcSMatt Jacob.Ar device objectid stat0 stat1 stat2 stat3 43daf1cffcSMatt Jacob.Sh DESCRIPTION 44daf1cffcSMatt Jacob.Nm 45daf1cffcSMatt Jacobsets the object status for a SCSI Environmental Services (or SAF-TE) device. 46daf1cffcSMatt JacobThe 47daf1cffcSMatt Jacob.Ar objectid 48daf1cffcSMatt Jacobargument may be determined by running 49daf1cffcSMatt Jacob.Xr getencstat 8 . 50daf1cffcSMatt Jacob.Pp 51daf1cffcSMatt JacobThe status fields are partially common (first byte only, which must 52daf1cffcSMatt Jacobhave a value of 0x80 contained in it), but otherwise quite device 535203edcdSRuslan Ermilovspecific. 545203edcdSRuslan ErmilovA complete discussion of the possible values is impractical 555203edcdSRuslan Ermilovhere. 565203edcdSRuslan ErmilovPlease refer to the ANSI SCSI specification (available on 57daf1cffcSMatt Jacobthe FTP site ftp.t10.org). 58daf1cffcSMatt Jacob.Pp 59daf1cffcSMatt JacobNote that devices may simply and silently ignore the setting of these values. 60daf1cffcSMatt Jacob.Sh FILES 61daf1cffcSMatt Jacob.Bl -tag -width /dev/sesN -compact 62daf1cffcSMatt Jacob.It Pa /dev/ses\fIN\fR 63daf1cffcSMatt JacobSCSI Environmental Services Devices 64daf1cffcSMatt Jacob.El 65daf1cffcSMatt Jacob.Sh SEE ALSO 66daf1cffcSMatt Jacob.Xr ses 4 , 67daf1cffcSMatt Jacob.Xr getencstat 8 , 685521ff5aSRuslan Ermilov.Xr sesd 8 , 69daf1cffcSMatt Jacob.Xr setencstat 8 70daf1cffcSMatt Jacob.Sh BUGS 71