On 3 March 2012 16:55, Geoffrey Leach <geoff@xxxxxxxxxx> wrote:
Another instance of a Linux regression, IMHO. Used to be anything in /tmp was supposedly safe to be erased on boot, and often was. Then again, disk space used to be expensive.
"tmpwatch" is the command you are looking for, but the default "/etc/cron.daily/tmpwatch" script isn't aggressive enough for me (and you, by the sound of it). Something like the following would do as a crude solution:
#! /bin/sh
tmpwatch --atime 28d /tmp
I have a "tmpwatch2" script (which will run after the default script) with my additional commands in it.
Regards,
Fedora (not just 16) leaves junk in /tmp. It's also using some of that
junk, for example keyring-PRgjGV/.
Another instance of a Linux regression, IMHO. Used to be anything in /tmp was supposedly safe to be erased on boot, and often was. Then again, disk space used to be expensive.
So what's the best way to reduce the clutter? Is there a service?
"tmpwatch" is the command you are looking for, but the default "/etc/cron.daily/tmpwatch" script isn't aggressive enough for me (and you, by the sound of it). Something like the following would do as a crude solution:
#! /bin/sh
tmpwatch --atime 28d /tmp
I have a "tmpwatch2" script (which will run after the default script) with my additional commands in it.
Regards,
--
Andy
The only person to have all his work done by Friday was Robinson Crusoe
-- users mailing list users@xxxxxxxxxxxxxxxxxxxxxxx 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