Thank you for sharing this, it's comments like this that make it hard to give up skimming HN. I have two Pi's running on SD cards that this is immediately beneficial for, so thank you.
/tmp and /var/log on tmpfs works as well, though it needs a bit of fiddling.
This is a beautiful little utility.
I've been doing stuff like this manually for years, and usually throwing away what gets logged.