Is /tmp a RAM disk or does it use the local SSD?
I'm looking to run a script that generates a temporary 8GB file which is subsequently deleted when the script is finished. I have thousands of these to do and I don't want to wear out my SSD by writing over 100TB of temporary files to it so I'd like to create these files in RAM instead. I've heard that some Linux distros have /tmp as a RAM disk but I'm not sure if that is the case for Big Sur, and if so if it's big enough to hold an 8GB file. Anybody know the answer, or possibly have an alternate solution for me?
MacBook Pro 16″, macOS 11.4