πŸ’Ύ Linux RAM disk persistent with Systemd timer, service and suspend

Breaking change 

v2019.2.1 

  • The ramdisk works with multiple different users
  • Migration
    • sudo p3x-ramdisk stop
    • Install the latest version
    • sudo p3x-ramdisk install $USER
    • sudo p3x-ramdisk start $USER
    • What actually changed, is that every command has a parameter <uid> eg.
      • sudo p3x-ramdisk install $USER
      • sudo p3x-ramdisk start $USER
      • sudo p3x-ramdisk stop $USER
      • sudo p3x-ramdisk link $USER
      • sudo p3x-ramdisk load $USER
      • sudo p3x-ramdisk save $USER
      • sudo p3x-ramdisk status $USER
      • sudo p3x-ramdisk watch $USER

v1.1 

This is only important if you have an older version (1.0.x-y) and/or you use linked folders (like IntelliJ).

It will never change anymore, but sometimes I can delete accidentally my data from the ramdisk, so I refactored the name instead of:

/home/user/ramdisk/persistence

now it is called

/home/user/ramdisk/.p3x-ramdisk-persistence

(hidden by default) and if you accidentally deleted, it will be auto-recreate (this is always visible - a symlink)

/home/user/ramdisk/p3x-persistence

If you are linked to IntelliJ for example, you have to recreate the symlink in your home.
For example, migration looks like this:

# exit intellij if you have linked
sudo p3x-ramdisk stop
rm -rf ~/ramdisk/persistence
sudo npm i -g p3x-ramdisk
sudo p3x-ramdisk install $USER
sudo p3x-ramdisk start
# so you are already linked into p3x-ramdisk, here 
# (if you are not linked, do not delete and
# do not execute below, only if the intellij
# data is linked and you are sure it is a 
# symlink )
ll ~/.IntelliJIdea2018.1

Shows:

lrwxrwxrwx 1 patrikx3 patrikx3 94 Apr 14 19:34 /home/patrikx3/.IntelliJIdea2018.1 -> /home/patrikx3/ramdisk/.p3x-ramdisk-persistence/content/.p3x-ramdisk-link/.IntelliJIdea2018.1/

MAKE SURE YOU EXIT FROM INTELLIJ.

If you are sure it is a link, you can recreate like:

rm ~/.IntelliJIdea2018.1
ln -s ~/ramdisk/.p3x-ramdisk-persistence/content/.p3x-ramdisk-link/.IntelliJIdea2018.1/ ~

Now you are safe.


Corifeus Network 

AI-powered network & email toolkit β€” free, no signup.

Web Β· network.corifeus.com MCP Β· npm i -g p3x-network-mcp

  • AI Network Assistant β€” ask in plain language, get a full domain health report
  • Network Audit β€” DNS, SSL, security headers, DNSBL, BGP, IPv6, geolocation in one call
  • Diagnostics β€” DNS lookup & global propagation, WHOIS, reverse DNS, HTTP check, my-IP
  • Mail Tester β€” live SPF/DKIM/DMARC + spam score + AI fix suggestions, results emailed (localized)
  • Monitoring β€” TCP / HTTP / Ping with alerts and public status pages
  • MCP server β€” 17 tools exposed to Claude Code, Codex, Cursor, any MCP client
  • Install β€” claude mcp add p3x-network -- npx p3x-network-mcp
  • Try β€” "audit example.com", "why do my emails land in spam? test me@example.com "
  • Source β€” patrikx3/network Β· patrikx3/network-mcp
  • Contact β€” patrikx3.com Β· donate

❀️ Support Our Open-Source Project 

If you appreciate our work, consider ⭐ starring this repository or πŸ’° making a donation to support server maintenance and ongoing development. Your support means the world to usβ€”thank you!


🌍 About My Domains 

All my domains, including patrikx3.com , corifeus.eu , and corifeus.com, are developed in my spare time. While you may encounter minor errors, the sites are generally stable and fully functional.


πŸ“ˆ Versioning Policy 

Version Structure: We follow a Major.Minor.Patch versioning scheme:

  • Major: πŸ“… Corresponds to the current year.
  • Minor: πŸŒ“ Set as 4 for releases from January to June, and 10 for July to December.
  • Patch: πŸ”§ Incremental, updated with each build.

🚨 Important Changes: Any breaking changes are prominently noted in the readme to keep you informed.

P3X-RAMDISK Build v2026.4.123

NPM Donate for PatrikX3 / P3X Contact Corifeus / P3X Like Corifeus @ Facebook