xref: /openbsd-src/share/man/man4/rd.4 (revision f2da64fbbbf1b03f09f390ab01267c93dfd77c4c)
1.\"   $OpenBSD: rd.4,v 1.6 2013/10/18 17:42:36 jmc Exp $
2.\"
3.\" This file is in the public domain.
4.\"
5.Dd $Mdocdate: October 18 2013 $
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.Cm elfrdsetroot
20tool.
21.Pp
22The
23.Cm elfrdsetroot
24tool is available as part of the distribution toolset.
25.Sh FILES
26.Bl -tag -width /dev/rrd??XXX -compact
27.It Pa "/dev/rd??"
28Block mode ramdisk devices.
29.It Pa "/dev/rrd??"
30Raw mode ramdisk devices.
31.El
32.Sh SEE ALSO
33.Xr elf 5
34