Voytek wrote:
is there any process that clears /tmp ?
init, and others.
is it ok to make subdirs below /tmp ?
yes. but get the ownership+permissions correct and anticipate multiple instances of your program running.
should I've made a /tmp/.domain.tld ?
makes no difference, as the tmp-scubbers know about dot-files. If you use /tmp you should be prepared for it to be cleared in-between invocations of your program (including but not limited to reboots). That's easy to do, it's just a matter of checking if /tmp/whatever/ exists and has the ownership/permissions you expect and creating it otherwise. If you need to retain data between boots then create a subdirectory under /var/. If you uninstall the program then that data may be removed. If that's an issue then use /srv/. Cheers, Glen -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
