xref: /netbsd/share/man/man4/md.4 (revision 6550d01e)
1.\"   $NetBSD: md.4,v 1.5 2007/02/25 04:22:01 uwe Exp $
2.\"
3.\" This file is in the public domain.
4.\"
5.Dd February 25, 2007
6.Dt MD 4
7.Os
8.Sh NAME
9.Nm md
10.Nd memory disk driver
11.Sh SYNOPSIS
12.Cd "pseudo-device md" Op Ar count
13.Sh DESCRIPTION
14The
15.Nm
16driver enables use of system or user memory as a disk.
17Memory for the disk must be allocated within the kernel or with
18.Xr mdconfig 8
19before the
20.Nm
21device may be used as a disk.
22Its behaviour is configured by the kernel options
23.Sy MEMORY_DISK_HOOKS ,
24.Sy MEMORY_DISK_IS_ROOT ,
25.Sy MEMORY_DISK_ROOT_SIZE ,
26.Sy MEMORY_DISK_DYNAMIC ,
27and
28.Sy MEMORY_DISK_SERVER .
29.Sh FILES
30.Bl -tag -width /dev/rmdXX -compact
31.It Pa "/dev/md??"
32block mode memory disk devices.
33.It Pa "/dev/rmd??"
34raw mode memory disk devices.
35.El
36.Sh SEE ALSO
37.Xr options 4 ,
38.Xr mdconfig 8 ,
39.Xr mdsetimage 8
40