Timeline for Is it possible to avoid trashing hard disk while using /tmp as a RAM device?
Current License: CC BY-SA 4.0
7 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Sep 12, 2023 at 9:43 | comment | added | ceremcem | My main goal was keeping the hard drive operational as long as possible, protecting from wear. | |
| Sep 11, 2023 at 16:43 | comment | added | Kusalananda♦ | Is your question mainly concerned with security (leave no trace on the hard drive), or with wear (keep the hard drive operational for as long as possible)? | |
| Nov 14, 2020 at 16:26 | comment | added | Mark Plotnick | If you use ramfs instead of tmpfs, files will remain in RAM and not go to disk. | |
| Oct 8, 2020 at 9:56 | answer | added | Artem S. Tashkinov | timeline score: 1 | |
| Oct 8, 2020 at 9:16 | comment | added | user313992 | Besides, except for special/embedded setups, it's a very bad idea to use any ram-based filesystem for /tmp. People create temporary files with the explicit purpose of not using up the ram, and not putting strain on the system that way, and using tmpfs for /tmp perversely subverts it. | |
| Oct 8, 2020 at 9:12 | comment | added | user313992 | "I don't want to trash my hard disk with intensive amount of temporary files written to /tmp" I don't think that's a real problem. I suggest you do some testing before assuming that that is a problem ;-) If you don't want your tmpfs to ever hit the disk, disable the swap. Problem solved. | |
| Oct 8, 2020 at 9:04 | history | asked | ceremcem | CC BY-SA 4.0 |