xref: /openbsd/share/man/man4/rd.4 (revision 3cab2bb3)
1.\"   $OpenBSD: rd.4,v 1.7 2019/04/16 13:58:45 sunil Exp $
2.\"
3.\" This file is in the public domain.
4.\"
5.Dd $Mdocdate: April 16 2019 $
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 rdsetroot
20tool.
21.Sh FILES
22.Bl -tag -width /dev/rrd??XXX -compact
23.It Pa "/dev/rd??"
24Block mode ramdisk devices.
25.It Pa "/dev/rrd??"
26Raw mode ramdisk devices.
27.El
28.Sh SEE ALSO
29.Xr elf 5 ,
30.Xr rdsetroot 8
31