On Thu, Dec 25, 2014 at 4:58 PM, Geoffrey Leach <ge...@hughes.net> 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@lists.fedoraproject.org
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

Reply via email to