Was hoping to float the idea of having an application on the phone that would act as a file optimizer/cleaner. Something to cleanly address excessive temp files etc so the phones do not get bogged down overtime. Does this exist already for PureOS? Might have to start learning D if I am interested in something like this I suspect.
You could likely use a cron job and shell script that does this.
Total noob here but if I remember correctly /tmp is cleared every time you boot on most distros, so even if creating a cron job would be a very good answer I wouldn’t even bother and just reboot my system when it’s getting a bit bloated.
yes but maybe he doesn’t want to reboot or can’t for certain reasons. his concern sounds like a server problem rather than a laptop/desktop one.
@Kryptonius i think you can rest easy. this is gnu/linux not windows
Well I can absolutely understand that depending on the use of the device you may not be able to reboot anytime soon, but if I’m not mistaken we’re talking about the Librem 5 and the cold booting seems to be pretty fast so I don’t think it will be much of an hindrance.
Good point! In fact I see this happen from time to time on my machines too.
Regularly having to reboot to empty the cache? Sounds more like a reason someone else could use to laugh at you about your phone.
But to be honest maybe that’s something we might fix in linux or the distro and not especially for the phone? The cron job would also suit me - but more as a temporary workaround.
I don’t reboot my phone. It’s uptime is measured in months. Still a cron job would be adequate.
There’s more to 100% reliable housekeeping than merely clearing
/tmp but the upside is that whatever problems exist along those lines will typically take some time to emerge after initial release and hence can be addressed in the months following initial release.
I believe that the design goal for a mobile phone should be “never rebooted” (e.g. my current phone is only rebooted if I overlook recharging it when that is needed and it runs out of juice and dies - and the odd software bug that can only be resolved with a reboot). It may take some time to reach that target level of software maturity. I expect a few rough edges at initial release.
that’s because there’s not a lot to load so far. the comparison that purism made seems to me like it’s just a child bragging about how fast he can run while “daddy” is loaded.
when there are as many things on the L5 as there are on the 'Droid devices let’s do that comparison again and see how it behaves.