mount none /ramdisk -t tmpfs
In Linux it’s part of the kernel, and you can mount with type tempts.
Not sure about OSX or bsds