2007-02-25 07:22:01 +03:00
|
|
|
.\" $NetBSD: md.4,v 1.5 2007/02/25 04:22:01 uwe Exp $
|
1997-04-11 09:26:25 +04:00
|
|
|
.\"
|
|
|
|
.\" This file is in the public domain.
|
|
|
|
.\"
|
2007-02-25 07:22:01 +03:00
|
|
|
.Dd February 25, 2007
|
1997-04-11 09:26:25 +04:00
|
|
|
.Dt MD 4
|
1999-03-16 04:19:14 +03:00
|
|
|
.Os
|
1997-04-11 09:26:25 +04:00
|
|
|
.Sh NAME
|
|
|
|
.Nm md
|
|
|
|
.Nd memory disk driver
|
|
|
|
.Sh SYNOPSIS
|
2007-02-25 07:22:01 +03:00
|
|
|
.Cd "pseudo-device md" Op Ar count
|
1997-04-11 09:26:25 +04:00
|
|
|
.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.
|
2004-01-12 23:03:39 +03:00
|
|
|
Its behaviour is configured by the kernel options
|
2004-01-13 00:17:30 +03:00
|
|
|
.Sy MEMORY_DISK_HOOKS ,
|
|
|
|
.Sy MEMORY_DISK_IS_ROOT ,
|
|
|
|
.Sy MEMORY_DISK_ROOT_SIZE ,
|
|
|
|
.Sy MEMORY_DISK_DYNAMIC ,
|
2004-01-12 23:03:39 +03:00
|
|
|
and
|
|
|
|
.Sy MEMORY_DISK_SERVER .
|
1997-04-11 09:26:25 +04:00
|
|
|
.Sh FILES
|
2007-02-25 07:22:01 +03:00
|
|
|
.Bl -tag -width /dev/rmdXX -compact
|
1997-04-11 09:26:25 +04:00
|
|
|
.It Pa "/dev/md??"
|
|
|
|
block mode memory disk devices.
|
|
|
|
.It Pa "/dev/rmd??"
|
|
|
|
raw mode memory disk devices.
|
|
|
|
.El
|
|
|
|
.Sh SEE ALSO
|
2004-01-13 00:17:30 +03:00
|
|
|
.Xr options 4 ,
|
1997-04-11 09:26:25 +04:00
|
|
|
.Xr mdconfig 8 ,
|
2004-01-13 00:17:30 +03:00
|
|
|
.Xr mdsetimage 8
|