Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Jun 2000 19:17:43 +0800
From:      Clive Lin <clive@CirX.ORG>
To:        Brian Somers <brian@FreeBSD.ORG>
Cc:        cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG
Subject:   Re: cvs commit: src/etc/periodic/daily 110.clean-tmps
Message-ID:  <20000608191743.A96693@host.cer.ntnu.edu.tw>
In-Reply-To: <200006080848.BAA28589@freefall.freebsd.org>; from brian@FreeBSD.ORG on Thu, Jun 08, 2000 at 01:48:16AM -0700
References:  <200006080848.BAA28589@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi, 

    Oh, sorry, how if I really don't want to clean /tmp while the machine
is running, and want to clean /tmp when reboot ... ?

    There're many applications need /tmp to store their sockets.

    It's possible if a screen socket idles for one or 2 weeks, then the
owner comes back to "screen -r".

    Or a mysql or postgresql sockets (even more) that idle for a really
long time but need to connect to the demon at any time.

    But, if the /tmp is cleared while the machine is still running,
it will put people into trouble. :(

    I've taken a look at the diff bewteen rev 1.6 and 1.7, and afraid that
would cause problem.

    Sir, since some people need to clean /tmp, /var/tmp, /compat/linux/tmp,
while the machine is running, and some other people don't want this happen,
could you please let it check something like "$clear_tmp_onthefly_enable" 
rather then just "$clear_tmp_enable" ? We (er, at least me) need more 
flexibility...

Regards,
Clive

On Thu, Jun 08, 2000 at 01:48:16AM -0700, Brian Somers 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
>   Clean /compat/linux/tmp if $linux_enable is also set to YES in rc.conf
>   
>   Revision  Changes    Path
>   1.7       +36 -17    src/etc/periodic/daily/110.clean-tmps

-- 
CirX - This site doesnt' exist.
9c  k9o h9 s1bg s1f, 7v  .y xqx a  sj m8r ffg1 vg5 a6 asox tmul h38.
ant sj m8r ob ? 1fj mwby a1 tao vg5. soq df v' .a. CirX.


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?20000608191743.A96693>