summaryrefslogtreecommitdiff
path: root/static/netbsd/man4/bio.4 4.html
diff options
context:
space:
mode:
Diffstat (limited to 'static/netbsd/man4/bio.4 4.html')
-rw-r--r--static/netbsd/man4/bio.4 4.html171
1 files changed, 0 insertions, 171 deletions
diff --git a/static/netbsd/man4/bio.4 4.html b/static/netbsd/man4/bio.4 4.html
deleted file mode 100644
index 54ab564f..00000000
--- a/static/netbsd/man4/bio.4 4.html
+++ /dev/null
@@ -1,171 +0,0 @@
-<table class="head">
- <tr>
- <td class="head-ltitle">BIO(4)</td>
- <td class="head-vol">Device Drivers Manual</td>
- <td class="head-rtitle">BIO(4)</td>
- </tr>
-</table>
-<div class="manual-text">
-<section class="Sh">
-<h1 class="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
-<p class="Pp"><code class="Nm">bio</code> &#x2014; <span class="Nd">Block IO
- ioctl tunnel pseudo-device</span></p>
-</section>
-<section class="Sh">
-<h1 class="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
-<p class="Pp"><code class="Cd">pseudo-device bio</code></p>
-<p class="Pp">
- <br/>
- <code class="In">#include &lt;<a class="In">dev/biovar.h</a>&gt;</code></p>
-</section>
-<section class="Sh">
-<h1 class="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
-<p class="Pp">The <code class="Nm">bio</code> driver provides userland
- applications <a class="Xr">ioctl(2)</a> access to devices otherwise not
- found as <span class="Pa">/dev</span> nodes. The
- <span class="Pa">/dev/bio</span> device node operates by delegating ioctl
- calls to a requested device driver. Only drivers which have registered with
- the <code class="Nm">bio</code> device can be accessed via this
- interface.</p>
-<p class="Pp">The following device drivers register with
- <code class="Nm">bio</code> for volume management:</p>
-<p class="Pp"></p>
-<div class="Bd-indent">
-<dl class="Bl-tag Bl-compact">
- <dt><a class="Xr">arcmsr(4)</a></dt>
- <dd>Areca Technology Corporation SATA RAID controller</dd>
- <dt><a class="Xr">ataraid(4)</a></dt>
- <dd>Software BIOS RAID</dd>
- <dt><a class="Xr">cac(4)</a></dt>
- <dd>Compaq RAID array controller</dd>
- <dt><a class="Xr">ciss(4)</a></dt>
- <dd>Compaq Smart ARRAY 5/6 SAS/SATA/SCSI RAID controller</dd>
- <dt><a class="Xr">mfi(4)</a></dt>
- <dd>LSI Logic &amp; Dell MegaRAID SAS RAID controller</dd>
- <dt><a class="Xr">mfii(4)</a></dt>
- <dd>LSI Logic MegaRAID SAS Fusion RAID controller</dd>
- <dt><a class="Xr">mpii(4)</a></dt>
- <dd>LSI Logic Fusion-MPT Message Passing Interface II</dd>
- <dt><a class="Xr">mpt(4)</a></dt>
- <dd>LSI Fusion-MPT RAID controller</dd>
-</dl>
-</div>
-<p class="Pp">The following ioctl calls apply to the <code class="Nm">bio</code>
- device:</p>
-<dl class="Bl-tag">
- <dt id="BIOCLOCATE"><a class="permalink" href="#BIOCLOCATE"><code class="Dv">BIOCLOCATE</code></a></dt>
- <dd>Locate a named device and give back a cookie to the application for
- subsequent ioctl calls. The cookie is used to tunnel further ioctls to the
- right device.</dd>
- <dt id="BIOCINQ"><a class="permalink" href="#BIOCINQ"><code class="Dv">BIOCINQ</code></a></dt>
- <dd>Retrieve number of volumes and physical disks for a specific device.</dd>
- <dt id="BIOCDISK"><a class="permalink" href="#BIOCDISK"><code class="Dv">BIOCDISK</code></a></dt>
- <dd>Retrieve detailed information for the specified physical disk. Information
- returned can include status, size, channel, target, lun, vendor name,
- serial number, and processor device (ses).</dd>
- <dt id="BIOCDISK_NOVOL"><a class="permalink" href="#BIOCDISK_NOVOL"><code class="Dv">BIOCDISK_NOVOL</code></a></dt>
- <dd>Is just the same as <code class="Dv">BIOCDISK</code> but doesn't require
- the disks to be in volume sets, so this applies to any physical disk
- connected to the controller.
- <p class="Pp">Note: this ioctl might not be supported on all hardware. It is
- a <span class="Ux">NetBSD</span> extension of
- <code class="Nm">bio</code>. It is supported by
- <a class="Xr">arcmsr(4)</a>, <a class="Xr">ciss(4)</a>, and
- <a class="Xr">mpt(4)</a>. It is also supported by
- <a class="Xr">cac(4)</a>, but handled exactly the same as
- <code class="Dv">BIOCDISK</code>.</p>
- </dd>
- <dt id="BIOCVOL"><a class="permalink" href="#BIOCVOL"><code class="Dv">BIOCVOL</code></a></dt>
- <dd>Retrieve detailed information for the specified volume. Information
- returned can include status, size, RAID level, number of disks, device
- name association (sd?) and vendor name.</dd>
- <dt id="BIOCALARM"><a class="permalink" href="#BIOCALARM"><code class="Dv">BIOCALARM</code></a></dt>
- <dd>Control the alarm beeper on the device. Supported states are: disable
- alarm, enable alarm, silence alarm, status and test alarm.
- <p class="Pp">Note: These options might not be supported on all hardware. It
- is supported by <a class="Xr">arcmsr(4)</a>, <a class="Xr">mfi(4)</a>,
- and <a class="Xr">mfii(4)</a>.</p>
- </dd>
- <dt id="BIOCBLINK"><a class="permalink" href="#BIOCBLINK"><code class="Dv">BIOCBLINK</code></a></dt>
- <dd>Blink an LED of the specified physical disk. Supported blink states are:
- blink LED, unblink LED and blink alarm LED.
- <p class="Pp">Note: This option is only supported if the disk is governed by
- <a class="Xr">ses(4)</a> and the hardware supports hardware blinking. It
- is supported by <a class="Xr">ciss(4)</a>, <a class="Xr">mfi(4)</a>, and
- <a class="Xr">mfii(4)</a>.</p>
- </dd>
- <dt id="BIOCSETSTATE"><a class="permalink" href="#BIOCSETSTATE"><code class="Dv">BIOCSETSTATE</code></a></dt>
- <dd>Alter the state of specified physical disk. Supported states are:
- create/remove hot-spare, create/remove pass through disk, start/stop
- consistency check in a volume, online disk and offline disk, and a manual
- rebuild kick-off designation.
- <p class="Pp">Note: These options might not be supported on all hardware.
- Some of these options are supported by <a class="Xr">arcmsr(4)</a>,
- <a class="Xr">mfi(4)</a>, and <a class="Xr">mfii(4)</a>.</p>
- <p class="Pp">Online, offline and hotspare designations are supported by
- <a class="Xr">mfi(4)</a> and <a class="Xr">mfii(4)</a>, plus a rebuild
- designation is supported by <a class="Xr">mfii(4)</a>; all four of these
- state options are the original states from
- <span class="Ux">OpenBSD</span>, the other options, including hotspare
- unmarking, being <span class="Ux">NetBSD</span> extensions of
- <code class="Nm">bio</code>.</p>
- <p class="Pp">Hotspare, pass through and consistency check options are
- supported by <a class="Xr">arcmsr(4)</a>.</p>
- </dd>
- <dt id="BIOCVOLOPS"><a class="permalink" href="#BIOCVOLOPS"><code class="Dv">BIOCVOLOPS</code></a></dt>
- <dd>For operations in volume sets. It's able to create and remove a volume set
- in a supported RAID controller.
- <p class="Pp">Note: this ioctl might not be supported on all hardware. It is
- a <span class="Ux">NetBSD</span> extension of
- <code class="Nm">bio</code>, and is supported by
- <a class="Xr">arcmsr(4)</a>.</p>
- </dd>
-</dl>
-<p class="Pp">The <a class="Xr">bioctl(8)</a> utility can be used to perform the
- above controls from the userland. Additionally, since
- <code class="Dv">BIOCVOL</code> volume status is normally duplicated into
- <a class="Xr">sysmon_envsys(9)</a> sensors of
- <code class="Dv">ENVSYS_DRIVE</code> type, it is also available through
- <a class="Xr">envsys(4)</a>, and can be monitored with
- <a class="Xr">envstat(8)</a> and <a class="Xr">powerd(8)</a>.</p>
-</section>
-<section class="Sh">
-<h1 class="Sh" id="FILES"><a class="permalink" href="#FILES">FILES</a></h1>
-<dl class="Bl-tag Bl-compact">
- <dt><span class="Pa">/dev/bio</span></dt>
- <dd>ioctl tunnel device</dd>
- <dt><span class="Pa">/etc/powerd/scripts/sensor_drive</span></dt>
- <dd>powerd script for drive sensors</dd>
-</dl>
-</section>
-<section class="Sh">
-<h1 class="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
- ALSO</a></h1>
-<p class="Pp"><a class="Xr">ioctl(2)</a>, <a class="Xr">envsys(4)</a>,
- <a class="Xr">bioctl(8)</a>, <a class="Xr">envstat(8)</a>,
- <a class="Xr">powerd(8)</a>, <a class="Xr">sysmon_envsys(9)</a></p>
-</section>
-<section class="Sh">
-<h1 class="Sh" id="HISTORY"><a class="permalink" href="#HISTORY">HISTORY</a></h1>
-<p class="Pp">The <code class="Nm">bio</code> driver first appeared in
- <span class="Ux">OpenBSD 3.2</span> and <span class="Ux">NetBSD
- 4.0</span>.</p>
-</section>
-<section class="Sh">
-<h1 class="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1>
-<p class="Pp">The <code class="Nm">bio</code> driver was written by
- <span class="An">Niklas Hallqvist</span>
- &lt;<a class="Mt" href="mailto:niklas@openbsd.org">niklas@openbsd.org</a>&gt;.
- The API was written by <span class="An">Marco Peereboom</span>
- &lt;<a class="Mt" href="mailto:marco@openbsd.org">marco@openbsd.org</a>&gt;
- and was extended even more for <span class="Ux">NetBSD</span> by
- <span class="An">Juan Romero Pardines</span>
- &lt;<a class="Mt" href="mailto:xtraeme@netbsd.org">xtraeme@netbsd.org</a>&gt;.</p>
-</section>
-</div>
-<table class="foot">
- <tr>
- <td class="foot-date">May 9, 2019</td>
- <td class="foot-os">NetBSD 10.1</td>
- </tr>
-</table>