How to create a non persistent filesystem?

Probably doing snapshots and rolling back would be one way of doing this, but is there a way to have an overlay and being able to diff the original to find out what has been altered on disk?