xref: /openbsd-src/share/man/man4/rd.4 (revision a28daedfc357b214be5c701aa8ba8adb29a7f1c2)
1.\"   $OpenBSD: rd.4,v 1.4 2007/05/31 19:19:51 jmc Exp $
2.\"
3.\" This file is in the public domain.
4.\"
5.Dd $Mdocdate: May 31 2007 $
6.Dt RD 4
7.Os
8.Sh NAME
9.Nm rd
10.Nd ramdisk driver
11.Sh SYNOPSIS
12.Cd "pseudo-device rd" 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 and initialized inside the
18kernel image at build-time using the
19.Nm rdsetroot ( Xr a.out 5 )
20or
21.Nm elfrdsetroot ( Xr elf 5 )
22tool.
23.Sh FILES
24.Bl -tag -width /dev/rrdXX -compact
25.It Pa "/dev/rd??"
26block mode ramdisk devices.
27.It Pa "/dev/rrd??"
28raw mode ramdisk devices.
29.El
30.Sh SEE ALSO
31The
32.Nm rdsetroot
33and
34.Nm elfrdsetroot
35tools are available as part of the distribution toolset.
36