On 05/12/2013 03:06 PM, Anton Aylward wrote:
Andrea Turrini said the following on 05/12/2013 08:19 AM:
This topic is the use case: how can I remove specific directories inside /tmp after 3 days while keeping the 10 days /tmp general cleaning?
Stated like that it is inadequate.
* Three days after what?
After the creation time, or whatever is used for comparing with the age.
* Why? Are they taking up needed space?
They are filling /tmp thus making more difficult to visually look for files in /tmp. And I do not see why if they are not taking up needed space, then this should not be a problem. Are you saying that since they do not take up needed space, then it is OK to let them to fill [/var]/tmp without bounds?
* What if they are still in use or still needed by some active process or process that will become active periodically?
If I know this can not happen, then this is not a problem. If I am not sure, I can change the age or keep the dirs there. BTW, this argument affects also the current system provided files wrt content (if any) of such directories: since X /tmp/systemd-private-* and from the manpage: X: Ignore a path during cleanup. Use this type to prevent path removal as controlled with the Age parameter. Note that if path is a directory, content of a directory is not excluded from clean-up, only directory itself. Lines of this type accept shell-style globs in place of normal path names. Can you ensure that everything is OK if the content is still in use or still needed by some active process or process that will become active periodically? Best, Andrea -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org