I had a discussion with a colleague about tmpfs: we couldn't agree whether tmpfs files survive the death of the process that created them or not. I argued for yes, but wasn't sure. I know that tmpfs is 'just another file system' but it being memory-only, I wasn't sure about the guarantees. Could someone shed some light on the issue?
Do files disappear from tmpfs when creating process dies?
453 Views Asked by Lajos Nagy At
2
It just exists in memory. Switch the computer off and it is gone.
But the files to tmpfs is not linked to a particular process.