Page 1 of 1

Feature Suggestion ;) tmp folder

Posted: Fri 21 Apr 2017 3:38 pm
by mcrossley
Steve, how about creating a /tmp folder (other names are available) under the Cumulus structure, and direct all the transitory file writes to this folder. I'm thinking the processed <filename>tmp files, JSON files, realtime.txt etc.

If they were all created in a single folder then it would be easy to link this to a RAM drive and avoid having all that IO on the main drive. Whilst not an issue for 'proper' computers, this would a benefit for those running on Raspberry Pi type architectures, especially those running on simple SD cards which tend to wear out!

Re: Feature Suggestion ;) tmp folder

Posted: Sat 22 Apr 2017 1:39 pm
by steve
It's a good idea, and I'll consider it, for the 'tmp' files at least. It should probably have been done that way in the first place, instead of creating files with 'tmp' on the end at all.

Re: Feature Suggestion ;) tmp folder

Posted: Wed 03 May 2017 1:05 pm
by freddie
If they were all created in a single folder then it would be easy to link this to a RAM drive and avoid having all that IO on the main drive
You can do this yourself using symbolic links. I have my MX installed as per the FHS (https://en.wikipedia.org/wiki/Filesyste ... y_Standard) guidelines by using symbolic links.