frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Show HN: GnuRAMage – A Bash tool to sync files between HDDs and RAM disks

https://github.com/FPGArtktic/GnuRAMage
1•mokulanis•1d ago
I've developed GnuRAMage, a Bash script to manage large RAM disks by synchronizing data with persistent storage (HDDs/SSDs). It's for anyone wanting to use the speed of RAM disks for frequently accessed files without risking data loss due to RAM's volatility.

The script works by:

Initializing from a config file (GnuRAMage.ini), checking paths and dependencies (rsync). Performing an initial copy of specified files/directories from a source (e.g., HDD) to the RAM disk. Entering a monitoring loop to periodically synchronize changes from the RAM disk back to the source using rsync. Handling interruptions (like Ctrl+C) gracefully with a final sync attempt before exiting. Key features:

Simple INI configuration. Rsync-style exclusion patterns. Dry-run mode for testing. Comprehensive logging. One-time sync mode. Optional checksum verification. Can generate standalone scripts for initial copy and periodic sync, useful for cron or systemd. It's built with Bash and rsync, aiming for simplicity.

Installation is straightforward:

Bash

git clone git@github.com:FPGArtktic/GnuRAMage.git cd GnuRAMage chmod +x gramage.sh # Then copy GnuRAMage.ini.example to GnuRAMage.ini and configure I created GnuRAMage to solve my own challenges with making large RAM disks practical and safe. I'm looking for feedback, suggestions, and any use cases I might have overlooked.

GitHub (includes full README with detailed config, options, testing, etc.): https://github.com/FPGArtktic/GnuRAMage

Thanks for checking it out!

Comments

atmanactive•1d ago
I thought Linux buffering holds everything important in RAM anyway, no? If I had 1GiB of files served by Apache/Nginx and changed only once every 24 hours, then, stuffing it all in a RAM disk wouldn't make any difference on performance. Or would it?
compressedgas•32m ago
Yes, but there is no means to pin files and directories into memory so that they never get evicted from the file system cache. If there were, one could use that instead.

Show HN: RustTensor: a Rust Library for Tensor Computation and ML Learning

https://github.com/ramsyana/RustTensor
1•ramram6278•27s ago•0 comments

Enhancing MySQL: MySQL improvement project

https://github.com/enhancedformysql/enhancedformysql
1•bratao•16m ago•0 comments

Google AI Edge Gallery

https://github.com/google-ai-edge/gallery
1•xnx•18m ago•0 comments

Formal Modeling and Analysis of Distributed (Event-Driven) Systems

https://github.com/p-org/P
1•ot•18m ago•0 comments

Waymo drives into a flooded road, results in the passenger getting stuck

https://twitter.com/niccruzpatane/status/1928477936845226469
3•lopkeny12ko•21m ago•0 comments

Ironclad: Unix-like operating system kernel written in SPARK and Ada

https://codeberg.org/Ironclad/Ironclad
1•thunderbong•22m ago•0 comments

Show HN: OBDium – Car Diagnostics Redefined

https://github.com/provrb/obdium
1•provrb•24m ago•0 comments

Stepping Back

https://rjp.io/blog/2025-05-31-stepping-back
3•rjpower9000•37m ago•1 comments

Progressive JSON

https://overreacted.io/progressive-json/
31•kacesensitive•43m ago•9 comments

Volcanic eruptions trigger ice formation in clouds

https://www.llnl.gov/article/52911/volcanic-eruptions-trigger-ice-formation-clouds
2•gmays•46m ago•0 comments

Giant microwave may change the future of war

https://www.technologyreview.com/2025/05/29/1117502/epirus-drone-zapping-microwave-us-military-defense/
5•lanfeust6•50m ago•0 comments

First year's code doesn't matter

https://onboardedhq.substack.com/p/your-code-doesnt-matter-yet
3•plentysun•50m ago•1 comments

Spiritual Enclosure / Rubén Valdez

https://www.archdaily.com/1030610/spiritual-enclosure-ruben-valdez
1•9woc•51m ago•0 comments

Jemalloc

https://github.com/jemalloc/jemalloc
2•amusingimpala75•51m ago•0 comments

AI helps researchers discover previously unknown molecules

https://www.thebrighterside.news/post/ai-helps-researchers-discover-several-previously-unknown-molecules/
1•geox•53m ago•0 comments

Apple's Reliance on China Is About Far More Than Labor Costs

https://www.bloomberg.com/news/articles/2025-05-30/apple-s-reliance-on-china-is-about-far-more-than-labor-costs
3•petethomas•54m ago•0 comments

White House says it will announce new pick for NASA chief

https://www.cnn.com/2025/05/31/politics/nasa-jared-isaacman-trump-pull
6•ChrisMarshallNY•1h ago•0 comments

Show HN: I built a simple Google Maps lead generator over the weekend

https://lead-generator-one.vercel.app/
1•sonny177•1h ago•0 comments

Jamie Raskin Launches Investigation Into Trump's "Corrupt Pardon Spree"

https://www.politicususa.com/p/jamie-raskin-launches-investigation
9•Jacquie11•1h ago•1 comments

Autocratic Capitalism: An Introduction

https://daily.jstor.org/autocratic-capitalism-an-introduction/
6•mdp2021•1h ago•0 comments

Research: Multiple-answer question format in exams improves student attainment

https://phys.org/news/2025-05-multiple-format-exams-student.html
2•PaulHoule•1h ago•0 comments

Show HN: Tracking Merged PRs by OpenAI's Codex and GitHub's Copilot

https://github.com/aavetis/ai-pr-watcher
3•zekone•1h ago•0 comments

Show HN: Patio – Rent tools, learn DIY, reduce waste

https://patio.so
25•GouacheApp•1h ago•13 comments

Green Tea Garbage Collector

https://github.com/golang/go/issues/73581
2•kristianp•1h ago•0 comments

Reduced OpenAI RAG costs by 70% by using a pre-check API call

1•Kong91•1h ago•2 comments

KSL Investigates: How to Avoid Inheriting a Timeshare You Don't Want (2021)

https://ksltv.com/ksl-investigates/ksl-investigates-how-to-avoid-inheriting-a-timeshare-you-dont-want/453896/
2•josephcsible•1h ago•2 comments

Energy Dept. Unveils Supercomputer That Merges with A.I

https://www.nytimes.com/2025/05/29/technology/energy-department-supercomputer-ai.html
1•bookofjoe•1h ago•1 comments

Show HN: The Daily Quandary

https://whythink.org/
1•rjhackin•2h ago•0 comments

Ask HN: Magic wand to fix one thing about cloud software development?

1•uptownhr•2h ago•0 comments

Where does debt go after death?

https://www.ramseysolutions.com/debt/what-happens-to-your-debt-when-you-die
5•downboots•2h ago•0 comments