Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Prevent SSD wear by using a RAM disk for cache' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Prevent SSD wear by using a RAM disk for cache
Authored by: fuzzylollipop on Mar 15, '11 12:29:07AM

This is a great idea, I really want this to work, so I can cache things from my IDE and compiler output and what not, but unfortunately, I can't get it to store anything on log out.

It on 10.6.6 it appears that the shutdown function never runs.

if I run the script manually and SIGINT it will rsync but just logging out with the app in the Login Items doesn't store anything to the disk.

It reads what is there back in on login, but never stores any updates on log out.

I even tried adding more trap SIG stuff not luck.

# Shutdown: Register terminate signals.
trap shutdown SIGINT SIGTERM SIGEXIT



[ Reply to This | # ]