Am 03.03.2012 17:55, schrieb Geoffrey Leach:
> Fedora (not just 16) leaves junk in /tmp. It's also using some of that 
> junk, for example keyring-PRgjGV/.
> 
> So what's the best way to reduce the clutter? Is there a service?

as default there are 30d instead my 1d

[root@srv-rhsoft:~]$ cat /etc/cron.daily/tmpwatch

#! /bin/sh

flags=-umc

/usr/sbin/tmpwatch "$flags" -x /tmp/.X11-unix -x /tmp/.XIM-unix \
        -x /tmp/.font-unix -x /tmp/.ICE-unix -x /tmp/.Test-unix \
        -X '/tmp/hsperfdata_*' 1d /tmp
/usr/sbin/tmpwatch "$flags" 1d /var/tmp
for d in /var/{cache/man,catman}/{cat?,X11R6/cat?,local/cat?}; do
    if [ -d "$d" ]; then
        /usr/sbin/tmpwatch "$flags" -f 1d "$d"
    fi
done

Attachment: signature.asc
Description: OpenPGP digital signature

-- 
users mailing list
[email protected]
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

Reply via email to