I exhausted my tmpfs due to runaway nginx logs in /tmp/log. I would like to move all the logs, and possibly the whole /tmp tree to my SSD to prevent future problems. It was fairly easy to move /tmp/log by using mount --bind.
- how can I get my mount --bind to survive a reboot? Normally I'd do this in fstab. (When I searched, unfortunately I get a bunch of unrelated info on the Bind package...)
- is there a way to cleanly disable the whole tmpfs system and use the ssd instead?
I'm OK with using mount --bind to redirect /tmp/log to an SSD, if disabling the tmpfs is going to be messy and complicated.