Skip to content

Instantly share code, notes, and snippets.

View kdmukai's full-sized avatar

kdmukai

View GitHub Profile
@htr3n
htr3n / macos-ramdisk.md
Last active October 23, 2026 03:09
Creating RAM disk in macOS

Built-in

diskutil erasevolume HFS+ 'RAM Disk' `hdiutil attach -nobrowse -nomount ram://XXXXX`

where XXXXX is the size of the RAM disk in terms of memory blocks.

Notes: