summaryrefslogtreecommitdiff
path: root/static/netbsd/man4/md.4 4.html
blob: e98c640f799c1d30a12374c8dd646d6cf487607d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<table class="head">
  <tr>
    <td class="head-ltitle">MD(4)</td>
    <td class="head-vol">Device Drivers Manual</td>
    <td class="head-rtitle">MD(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">md</code> &#x2014; <span class="Nd">memory disk
    driver</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 md</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">md</code> driver enables use of system or
    user memory as a disk. Memory for the disk must be allocated within the
    kernel or with <a class="Xr">mdconfig(8)</a> before the
    <code class="Nm">md</code> device may be used as a disk. Its behaviour is
    configured by the kernel options
    <a class="permalink" href="#MEMORY_DISK_HOOKS"><b class="Sy" id="MEMORY_DISK_HOOKS">MEMORY_DISK_HOOKS</b></a>,
    <a class="permalink" href="#MEMORY_DISK_IS_ROOT"><b class="Sy" id="MEMORY_DISK_IS_ROOT">MEMORY_DISK_IS_ROOT</b></a>,
    <a class="permalink" href="#MEMORY_DISK_ROOT_SIZE"><b class="Sy" id="MEMORY_DISK_ROOT_SIZE">MEMORY_DISK_ROOT_SIZE</b></a>,
    <a class="permalink" href="#MEMORY_DISK_DYNAMIC"><b class="Sy" id="MEMORY_DISK_DYNAMIC">MEMORY_DISK_DYNAMIC</b></a>,
    and
    <a class="permalink" href="#MEMORY_DISK_SERVER"><b class="Sy" id="MEMORY_DISK_SERVER">MEMORY_DISK_SERVER</b></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/md??</span></dt>
  <dd>block mode memory disk devices.</dd>
  <dt><span class="Pa">/dev/rmd??</span></dt>
  <dd>raw mode memory disk devices.</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">options(4)</a>, <a class="Xr">mdconfig(8)</a>,
    <a class="Xr">mdsetimage(8)</a></p>
</section>
</div>
<table class="foot">
  <tr>
    <td class="foot-date">November 30, 2013</td>
    <td class="foot-os">NetBSD 10.1</td>
  </tr>
</table>