I have a laptop with a LAMP setup. The HDD is slow, which causes my unit tests to run slowly.
I was wondering whether I could mount the web root the mysql database on some kind of ramdisk.
From what I have read of ramdisks, they are non-persistent.
Is there anyway to create a ramdisk that writes changes to an area of the hdd when shutting down and re-mounts the ramdisk on bootup?