Module Name: src
Committed By: cnst
Date: Thu May 9 07:12:38 UTC 2019
Modified Files:
src/share/man/man4: bio.4
Log Message:
bio(4): .In dev/biovar.h in SYNOPSIS; .Xr envsys 4 et al in both DESCR && SEE
ALSO
To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/share/man/man4/bio.4
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/share/man/man4/bio.4
diff -u src/share/man/man4/bio.4:1.17 src/share/man/man4/bio.4:1.18
--- src/share/man/man4/bio.4:1.17 Wed May 8 19:34:09 2019
+++ src/share/man/man4/bio.4 Thu May 9 07:12:38 2019
@@ -1,4 +1,4 @@
-.\" $NetBSD: bio.4,v 1.17 2019/05/08 19:34:09 cnst Exp $
+.\" $NetBSD: bio.4,v 1.18 2019/05/09 07:12:38 cnst Exp $
.\" $OpenBSD: bio.4,v 1.19 2006/09/20 22:22:37 jmc Exp $
.\"
.\" Copyright (c) 2002 Niklas Hallqvist
@@ -28,7 +28,7 @@
.\" ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd May 8, 2019
+.Dd May 9, 2019
.Dt BIO 4
.Os
.Sh NAME
@@ -36,6 +36,8 @@
.Nd Block IO ioctl tunnel pseudo-device
.Sh SYNOPSIS
.Cd "pseudo-device bio"
+.Pp
+.In dev/biovar.h
.Sh DESCRIPTION
The
.Nm
@@ -182,14 +184,36 @@ extension of
and is supported by
.Xr arcmsr 4 .
.El
+.Pp
+The
+.Xr bioctl 8
+utility can be used to perform the above controls from the userland.
+Additionally, since
+.Dv BIOCVOL
+volume status is normally duplicated into
+.Xr sysmon_envsys 9
+sensors of
+.Dv ENVSYS_DRIVE
+type, it is also available through
+.Xr envsys 4 ,
+and can be monitored with
+.Xr envstat 8
+and
+.Xr powerd 8 .
.Sh FILES
-.Bl -tag -width /dev/bio -compact
+.Bl -tag -width Ds -compact
.It Pa /dev/bio
ioctl tunnel device
+.It Pa /etc/powerd/scripts/sensor_drive
+powerd script for drive sensors
.El
.Sh SEE ALSO
.Xr ioctl 2 ,
-.Xr bioctl 8
+.Xr envsys 4 ,
+.Xr bioctl 8 ,
+.Xr envstat 8 ,
+.Xr powerd 8 ,
+.Xr sysmon_envsys 9
.Sh HISTORY
The
.Nm