summaryrefslogtreecommitdiff
path: root/static/netbsd/man4/md.4
diff options
context:
space:
mode:
Diffstat (limited to 'static/netbsd/man4/md.4')
-rw-r--r--static/netbsd/man4/md.439
1 files changed, 39 insertions, 0 deletions
diff --git a/static/netbsd/man4/md.4 b/static/netbsd/man4/md.4
new file mode 100644
index 00000000..9c389caa
--- /dev/null
+++ b/static/netbsd/man4/md.4
@@ -0,0 +1,39 @@
+.\" $NetBSD: md.4,v 1.6 2013/12/01 00:17:14 christos Exp $
+.\"
+.\" This file is in the public domain.
+.\"
+.Dd November 30, 2013
+.Dt MD 4
+.Os
+.Sh NAME
+.Nm md
+.Nd memory disk driver
+.Sh SYNOPSIS
+.Cd pseudo-device md
+.Sh DESCRIPTION
+The
+.Nm
+driver enables use of system or user memory as a disk.
+Memory for the disk must be allocated within the kernel or with
+.Xr mdconfig 8
+before the
+.Nm
+device may be used as a disk.
+Its behaviour is configured by the kernel options
+.Sy MEMORY_DISK_HOOKS ,
+.Sy MEMORY_DISK_IS_ROOT ,
+.Sy MEMORY_DISK_ROOT_SIZE ,
+.Sy MEMORY_DISK_DYNAMIC ,
+and
+.Sy MEMORY_DISK_SERVER .
+.Sh FILES
+.Bl -tag -width /dev/rmdXX -compact
+.It Pa "/dev/md??"
+block mode memory disk devices.
+.It Pa "/dev/rmd??"
+raw mode memory disk devices.
+.El
+.Sh SEE ALSO
+.Xr options 4 ,
+.Xr mdconfig 8 ,
+.Xr mdsetimage 8