Skip to main content
Version: current

Ramdisk

info

This feature requires the Storage package.

RAMdisk allows using part of RAM as an attached device (block device). Compared to tmpfs, this allows using RAM as part of a RAID, or in any other configuration where a device — rather than a folder — is required.

warning

A RAMdisk is cleared on reboot or power loss.

Properties

PropertyDescription
ramdisk-sizeSize of the block device you want to create

Configuration example

/disk/add type=ramdisk ramdisk-size=500M

Format the ramdisk before using it:

/disk/format ramdisk1