1*2cfdc9a9Sjoerg.\" $NetBSD: setencstat.8,v 1.4 2009/04/08 13:47:07 joerg Exp $ 2f249807bSmjacob.\" $OpenBSD: $ 3f249807bSmjacob.\" $FreeBSD: $ 4f249807bSmjacob.\" 5f249807bSmjacob.\" Copyright (c) 2000 Matthew Jacob 6f249807bSmjacob.\" All rights reserved. 7f249807bSmjacob.\" 8f249807bSmjacob.\" Redistribution and use in source and binary forms, with or without 9f249807bSmjacob.\" modification, are permitted provided that the following conditions 10f249807bSmjacob.\" are met: 11f249807bSmjacob.\" 1. Redistributions of source code must retain the above copyright 12f249807bSmjacob.\" notice, this list of conditions, and the following disclaimer, 13f249807bSmjacob.\" without modification, immediately at the beginning of the file. 14f249807bSmjacob.\" 2. The name of the author may not be used to endorse or promote products 15f249807bSmjacob.\" derived from this software without specific prior written permission. 16f249807bSmjacob.\" 17f249807bSmjacob.\" Alternatively, this software may be distributed under the terms of the 18f249807bSmjacob.\" the GNU Public License ("GPL"). 19f249807bSmjacob.\" 20f249807bSmjacob.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 21f249807bSmjacob.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 22f249807bSmjacob.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 23f249807bSmjacob.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR 24f249807bSmjacob.\" ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 25f249807bSmjacob.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 26f249807bSmjacob.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27f249807bSmjacob.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28f249807bSmjacob.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29f249807bSmjacob.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30f249807bSmjacob.\" SUCH DAMAGE. 31f249807bSmjacob.\" 32f249807bSmjacob.\" Matthew Jacob 33f249807bSmjacob.\" Feral Software 34f249807bSmjacob.\" mjacob@feral.com 35f249807bSmjacob.Dd February 21, 2000 36f249807bSmjacob.Dt SETENCSTAT 8 37f249807bSmjacob.Os 38f249807bSmjacob.Sh NAME 39f249807bSmjacob.Nm setencstat 40f249807bSmjacob.Nd set SCSI Environmental Services Device enclosure status 41f249807bSmjacob.Sh SYNOPSIS 42f249807bSmjacob.Nm 43f249807bSmjacob.Ar device enclosure_status 44f249807bSmjacob.Sh DESCRIPTION 45f249807bSmjacob.Nm 46f249807bSmjacobsets summary status for a SCSI Environmental Services (or SAF-TE) device. 47f249807bSmjacobThe enclosure status argument may take on the values: 48f249807bSmjacob.Bl -tag -width Ds 49f249807bSmjacob.It 0 50*2cfdc9a9SjoergSet the status to an 51*2cfdc9a9Sjoerg.Sy OK 52*2cfdc9a9Sjoergstate. 53f249807bSmjacob.It 1 54*2cfdc9a9SjoergSet the status to an 55*2cfdc9a9Sjoerg.Sy UNRECOVERABLE 56*2cfdc9a9Sjoergstate. 57f249807bSmjacob.It 2 58*2cfdc9a9SjoergSet the status to an 59*2cfdc9a9Sjoerg.Sy CRITICAL 60*2cfdc9a9Sjoergstate. 61f249807bSmjacob.It 4 62*2cfdc9a9SjoergSet the status to an 63*2cfdc9a9Sjoerg.Sy NON-CRITICAL 64*2cfdc9a9Sjoergstate. 65f249807bSmjacob.It 8 66*2cfdc9a9SjoergSet the status to an 67*2cfdc9a9Sjoerg.Sy INFORMATIONAL 68*2cfdc9a9Sjoergstate. 69f249807bSmjacob.El 70f249807bSmjacob.Pp 71f249807bSmjacobAll the non-zero options may be combined. 72f249807bSmjacob.Pp 73f249807bSmjacobNote that devices may simply and silently ignore the setting of these values. 74f249807bSmjacob.Sh FILES 75f249807bSmjacob.Bl -tag -width /dev/sesN -compact 76*2cfdc9a9Sjoerg.It Pa /dev/ses Ns Ar N 77f249807bSmjacobSCSI Environmental Services Devices 78f249807bSmjacob.El 79f249807bSmjacob.Sh SEE ALSO 80f249807bSmjacob.Xr ses 4 , 81f249807bSmjacob.Xr getencstat 8 , 82c51c412aSwiz.Xr sesd 8 , 83f249807bSmjacob.Xr setobjstat 8 84