Today we’re looking at the iRAM, and early (and wild) SSD from 2006. A slightly cursed idea at the time, but how does it stack up in 2025?

  • cmnybo@discuss.tchncs.de
    link
    fedilink
    English
    arrow-up
    12
    ·
    21 hours ago

    Just put tmpfs /tmp tmpfs defaults,size=4G 0 0 in /etc/fstab then reboot and /tmp will be a RAM drive. Set size to whatever you want the maximum size to be.

    • pastermil@sh.itjust.works
      link
      fedilink
      arrow-up
      7
      ·
      20 hours ago

      This is what I do. But the thing is, I can only have so much RAM on my motherboard.

      Alternatively, I’ve been using zram to better utilize the space, but the original issue remains.

    • danA
      link
      fedilink
      arrow-up
      8
      ·
      edit-2
      17 hours ago

      A lot of Linux distros do this by default. Alternatively you can use /dev/shm when you need a RAM disk, since it’s guaranteed to always be a RAM disk (whereas /tmp may or may not be).

      The actual purpose of /dev/shm is shared memory (storing stuff in memory that’s shared across multiple processes) but I see it used as a generic RAM disk all the time.