Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 08 Jun 2000 12:18:43 +0100
From:      Brian Somers <brian@Awfulhak.org>
To:        Jeroen Ruigrok van der Werven <jruigrok@via-net-works.nl>
Cc:        Brian Somers <brian@FreeBSD.org>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org, brian@hak.lan.Awfulhak.org
Subject:   Re: cvs commit: src/etc/periodic/daily 110.clean-tmps 
Message-ID:  <200006081118.MAA18447@hak.lan.Awfulhak.org>
In-Reply-To: Message from Jeroen Ruigrok van der Werven <jruigrok@via-net-works.nl>  of "Thu, 08 Jun 2000 11:26:12 %2B0200." <20000608112612.D82993@lucifer.bart.nl> 

next in thread | previous in thread | raw e-mail | index | archive | help
> -On [20000608 10:50], Brian Somers (brian@FreeBSD.org) wrote:
> >brian       2000/06/08 01:48:16 PDT
> >
> >  Modified files:
> >    etc/periodic/daily   110.clean-tmps 
> >  Log:
> >  Clean /tmp and /var/tmp if $clear_tmp_enable is set to YES in rc.conf
> 
> I disagree with this on the pure and simple notion that it comflicts
> with the description of it in hier(7).
> 
> /tmp should be cleaned when set to YES.  /var/tmp should not.  I ask you
> kindly to back the /var/tmp cleaning out please.

I believe that /var/tmp should be cleanable in some way and would 
suggest one of the following changes:

1.  Change hier(7) to reflect the new behaviour.
2.  Have a new $clear_tmp_daily in rc.conf to enable the script as-is
3.  Have a series of variables:  $clear_tmp_daily, 
    $clear_vartmp_daily etc.
4.  Have $clear_tmp_daily set to the directories that you wish to 
    clean (clear_tmp_daily="/tmp /var/tmp /compat/linux/tmp")

Thoughts/opinions ?

> Thanks,
> 
> -- 
> Jeroen Ruigrok van der Werven          Network- and systemadministrator
> <jruigrok@via-net-works.nl>            VIA Net.Works The Netherlands
> BSD: Technical excellence at its best  http://www.via-net-works.nl
> The flowers in the garden will mark your absence, and rejoice the day
> of your return...

-- 
Brian <brian@Awfulhak.org>                        <brian@[uk.]FreeBSD.org>
      <http://www.Awfulhak.org>;                   <brian@[uk.]OpenBSD.org>
Don't _EVER_ lose your sense of humour !




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200006081118.MAA18447>