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