Re: okay to delete stuff in /usr/tmp

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Michael Butash
Date:  
To: plug-discuss
Subject: Re: okay to delete stuff in /usr/tmp
I used to use a static fs partition/lvm for /tmp, but found more cruft
collected there than ever needed to long-term. I now use tmpfs, that
works a lot better for me. Just add to your /etc/fstab and reboot - now
wipes up after your cruft on reboots.

tmpfs    /tmp    tmpfs    defaults,noatime,mode=1777    0 0


-mb


On 08/20/2012 11:28 AM, sean ritzler wrote:
> I wouldn't clean it up manually. Some of the files may still be needed
> by something. It looks like you're using Fedora or something RHEL-based,
> both of which have a cleanup jump for /tmp (and /var/tmp if I remember
> correctly). As long as you have cron running you shouldn't have to worry
> about those directories, unless you're really really hurting for disk
> space :-)
>
> Sean
>
>
>
> On Mon, Aug 20, 2012 at 11:21 AM, <
> <mailto:joe@actionline.com>> wrote:
>
>
>     Seem to have a lot of old stuff (old file date garbage?) in /usr/tmp.
>     Is there any reason I should not delete any of this old stuff?

>
>     -rw------- 1 root         48 Jul 26  2011
>     dkms_rpm_safe_upgrade_lock.11831.TBQyoK
>     -rw------- 1 root         56 Jul 26  2011
>     dkms_rpm_safe_upgrade_lock.11831.GIqT1u
>     -rw------- 1 root         61 Jul 26  2011
>     dkms_rpm_safe_upgrade_lock.11831.ZdFFpR
>     -rw------- 1 root         48 Aug  4  2011
>     dkms_rpm_safe_upgrade_lock.31420.iZaAkD
>     -rw------- 1 root         58 Aug  4  2011
>     dkms_rpm_safe_upgrade_lock.31420.uAXaLC
>     -rw------- 1 root        155 Aug  4  2011 init.5UFrQu
>     -rw-r--r-- 1 root     766966 Aug  4  2011 index.html
>     -rw-r--r-- 1 root        216 Aug  4  2011 lomanager-install.log
>     -rw------- 1 root         56 Aug 10  2011
>     dkms_rpm_safe_upgrade_lock.11278.MvLRdl
>     -rw------- 1 root         87 Aug 17  2011 init.CkseTK
>     -rw------- 1 root         58 Sep  7  2011
>     dkms_rpm_safe_upgrade_lock.7730.HPMuoC
>     -rw------- 1 root         48 Sep  7  2011
>     dkms_rpm_safe_upgrade_lock.7730.g2msVI
>     -rw------- 1 root          0 Nov  6  2011 init.EjTmLP
>     -rw------- 1 root          0 Nov  6  2011 init.SbAMmV
>     -rw------- 1 root         48 Dec  3  2011
>     dkms_rpm_safe_upgrade_lock.13009.odxfw4
>     -rw------- 1 root         58 Dec  3  2011
>     dkms_rpm_safe_upgrade_lock.13009.lVSXdy
>     -rw------- 1 root         56 Dec  3  2011
>     dkms_rpm_safe_upgrade_lock.13009.0QjKdM
>     -rw------- 1 root         87 Dec 19  2011 init.HX5yFo
>     -rw------- 1 root         87 Dec 19  2011 init.n2hBHn
>     -rw------- 1 root         48 Dec 19  2011
>     dkms_rpm_safe_upgrade_lock.5500.FxD1fL
>     -rw------- 1 root      16346 Mar  6 16:04 076f94f61d77d
>     drwx------ 2 joe        4096 May 26 08:17 acroread_500_500
>     -rw------- 1 root      16346 May 30 16:08 05e004fcfefe6
>     drwx------ 2 joe        4096 Jun  5 17:35 gpg-rhKeMO
>     drwx------ 2 joe        4096 Jun 20 11:38 gpg-4qjsVm
>     -rw------- 1 root         56 Jun 29 16:43
>     dkms_rpm_safe_upgrade_lock.22022.eJT06b
>     -rw------- 1 root         58 Jun 29 16:44
>     dkms_rpm_safe_upgrade_lock.22022.hLYGR9
>     -rw------- 1 root         48 Jun 29 16:45
>     dkms_rpm_safe_upgrade_lock.22022.S6fvcw
>     -rw------- 1 root         61 Jun 29 16:47
>     dkms_rpm_safe_upgrade_lock.22022.cywVtp
>     drwx------ 2 root       4096 Jul  3 14:05 kdecache-root
>     -rw------- 1 root     119826 Jul 10 08:15 066f25009bd33
>     -rw------- 1 root      25382 Jul 10 08:16 066f25005ef46
>     -rw------- 1 apache 44216320 Aug  1 04:02 core.4622
>     -rw------- 1 apache 44216320 Aug  1 04:02 core.4621
>     -rw------- 1 apache 44216320 Aug  1 04:02 core.4620
>     -rw------- 1 apache 44216320 Aug  1 04:02 core.4625
>     -rw------- 1 apache 44216320 Aug  1 04:02 core.4624
>     -rw------- 1 apache 44216320 Aug  1 04:02 core.4623
>     -rw------- 1 apache 44216320 Aug  1 04:02 core.4626
>     -rw------- 1 apache 44216320 Aug  1 04:02 core.4619

>
>
>     ---------------------------------------------------
>     PLUG-discuss mailing list - 
>     <mailto:PLUG-discuss@lists.plug.phoenix.az.us>
>     To subscribe, unsubscribe, or to change your mail settings:
>     http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

>
>
>
>
> ---------------------------------------------------
> PLUG-discuss mailing list -
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss