Carlos E. R. said the following on 04/25/2013 10:23 PM:
Well, I'm using 12.1, so /run appeared in this version. Developpers will have to catch on that, with time. But in any case, that a program leaves temporary files on exit should be the exception, not the norm. Using a directory in memory to clear it on boot, is a hack to solve a problem that should not be there.
Maybe... maybe when a program requests a temporary file, and it crashes, the OS should delete those files automatically. Or maybe not, to investigate the crash. Or maybe they should be erased on a normal finish only. Or maybe not, because another program is going to use them. Or...
Or none of the above. For a long while now there have bee how-to guides about this yet we still have people who don't follow simple 'good practice' that is 'play nice with others' and 'pick up after yourself'. I almost said that it was people crossing over from Windows who didn't understand multi-user systems but I suspect its not as simple as that. Yes, open the file them delete it while its open means that the process has use of it but that the OS will clean up after the processes exits, whether it closes it or not, whether the process exits gracefully or crashes. Simple, eh? Been UNIX practice for a long time before Linux was around. Why don't application writer read things like 'The Unix Programming Environment"? http://www.amazon.com/Unix-Programming-Environment-Prentice-Hall-Software/dp... http://en.wikipedia.org/wiki/The_Unix_Programming_Environment The wikipedia article makes it sound out of date but it isn't. ftp://delta.cs.cinvestav.mx/jorge/unix-programming-environment-BrianWKernighan-RobPike.pdf -- There is nothing wrong with America that the faith, love of freedom, intelligence and energy of her citizens cannot cure. -- Dwight D. Eisenhower -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org