Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ ramdisk(7) — Motorola System V 88k Release 4 Version 4.3

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

edt_data(4)

ramdisk(7)  —  SPECIAL FILES AND DEVICES

NAME

ramdisk − RAM disk driver

DESCRIPTION

The RAMDISK module allows a block of memory to be treated as a disk. 

To create a ramdisk, do the following:

(1) Define a memory region in the edt_data file for each ramdisk.  edt_data(4) describes how to do this.  Give each region the attribute "ramdunit=x", where x is the hexadecimal number of the ramdisk unit.  If the region has the paged attribute, it must also have the lock attribute.  Here is a sample ramdisk definition:

    memory-region ramd0
    {
id 0
memory-address 0xE00000
memory-length  0x200000
attributes  ramdunit=0
    }

(2) Check to be sure that the ramdisk driver declaration appears in the file edt_data.  Add it if it doesn’t appear. 

    driver RAMDISK software
    {
id 0
    }

The ramdisk will be available after a new kernel is built, typically after the next reboot. 

Ramdisk devices cannot be sliced.  Hence, the slice number is always 7. 

FILES

/dev/dsk/ramd_c0dxs7
/dev/rdsk/ramd_c0dxs7
/stand/edt_data

SEE ALSO

edt_data(4). 

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026