Re: 16,000.000 symlinks - yikes!

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

 



On Thu, Dec 25, 2014 at 4:58 PM, Geoffrey Leach <geoff@xxxxxxxxxx> wrote:
> A rogue printer daemon appears to have filled up /tmp with 16,000.000 symlinks. Question: how to delete them? (Sometime before the end of 2015)
> --
The fastest way (if it is not tmpfs) may be to create a new /tmp filesystem.

To check for tmpfs do df /tmp and if it says tmpfs a reboot will make
a new /tmp as it was never on disk.

Also if it is tmpfs it is in ram and the deletes will likely be
reasonably fast (if you don't want to reboot).

Worst case (if it is a real fs) you create the new filesystem, test
mount it, then update /etc/fstab with the new filesystem location (for
/tmp) and then reboot and it will use the new /tmp filesystem and you
can delete the entire old filesystem.   This is assuming that you
don't have anything saved in /tmp that is important (should be the
case, but I have seen people use /tmp sometimes).
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
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