Re: Cleaning /tmp

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

 



Geoffrey Leach wrote:
> 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?

One option is tmpfs. Put something like this in /etc/fstab:
none                    /tmp                    tmpfs   nodev,noexec 0 0
and everything in /tmp will be deleted whenever the system is rebooted
or powered down (unless you hibernate).

If you have plenty of memory, files in /tmp might never actually reach
disk, which can improve performance on some tasks. Otherwise, the system
will use the same algorithm as it uses for other files as to when to
reclaim the memory they use, at which point it will write them to swap.

Hope this helps,

James.

-- 
E-mail:     james@ | ... and watched Richard Stallman ask one of the waiting
aprilcottage.co.uk | staff whether the spring rolls did indeed spring and
                   | whether they would bounce.
                   |     -- Telsa Gwynne
-- 
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