Re: Cleaning /tmp

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 3 March 2012 16:55, Geoffrey Leach <geoff@xxxxxxxxxx> wrote:
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
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux