summaryrefslogtreecommitdiff
path: root/share/man/man4/rd.4
blob: 8b1a6cd36e4ad6b6fbb246d6b76c439eabe30c08 (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
.\"   $OpenBSD: rd.4,v 1.6 2013/10/18 17:42:36 jmc Exp $
.\"
.\" This file is in the public domain.
.\"
.Dd $Mdocdate: October 18 2013 $
.Dt RD 4
.Os
.Sh NAME
.Nm rd
.Nd ramdisk driver
.Sh SYNOPSIS
.Cd "pseudo-device rd" Op Ar count
.Sh DESCRIPTION
The
.Nm
driver enables use of system or user memory as a disk.
Memory for the disk must be allocated and initialized inside the
kernel image at build-time using the
.Cm elfrdsetroot
tool.
.Pp
The
.Cm elfrdsetroot
tool is available as part of the distribution toolset.
.Sh FILES
.Bl -tag -width /dev/rrd??XXX -compact
.It Pa "/dev/rd??"
Block mode ramdisk devices.
.It Pa "/dev/rrd??"
Raw mode ramdisk devices.
.El
.Sh SEE ALSO
.Xr elf 5