Results 1 to 6 of 6

Thread: Emptying /tmp directory

  1. #1
    Alan-LB NNTP User

    Default Emptying /tmp directory

    I have a lot of stuff collected in the /tmp directory. Is it safe to delete these files or is it better to leave them?

    TIA

    Alan

  2. #2
    Join Date
    Jun 2008
    Location
    relative
    Posts
    1,172

    Default Re: Emptying /tmp directory

    Quote Originally Posted by Alan-LB View Post
    I have a lot of stuff collected in the /tmp directory. Is it safe to delete these files or is it better to leave them?

    TIA

    Alan
    If your system doesn't use them, they will be automatically deleted.
    http://mydailyhash.wordpress.com/
    http://yami.googlecode.com/

  3. #3

    Default Re: Emptying /tmp directory

    I think that you can safely delete /tmp content, but there is a more elegant way.
    Open yast2->/etc/sysconfig editor
    Look under Cron.
    There you will find several variables that you can set related to /tmp dir.
    Look in particular at CLEAR_TMP_DIRS_AT_BOOTUP, if you set this to yes, then the system will delete /tmp content on every boot (the default value is no at least in 11.1 RC1)
    I hope this help.

  4. #4
    Join Date
    Jun 2008
    Location
    UTC+10
    Posts
    9,686
    Blog Entries
    4

    Default Re: Emptying /tmp directory

    Quote Originally Posted by ram88 View Post
    If your system doesn't use them, they will be automatically deleted.
    No, not always true. Only if there is a scavenger cron job.

  5. #5
    Alan-LB NNTP User

    Default Re: Emptying /tmp directory

    Thanks for all your help

    Alan

  6. #6
    Join Date
    Jul 2008
    Location
    ukraine/mk/pervomaysk
    Posts
    528

    Default Re: Emptying /tmp directory

    this tread help me too with understanding this
    intelGMA3100#amd|radeonHD4200+radeonHD5450@catalyst12.4
    WC5020B,PagePro1480MF,LBP2900,hpCP1510,PHOTO1290,Scanmaker3600,PerfectionV200

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •