From owner-cvs-all Thu Jun 8 4:25:13 2000 Delivered-To: cvs-all@freebsd.org Received: from host.cer.ntnu.edu.tw (cer.ntnu.edu.tw [140.122.119.9]) by hub.freebsd.org (Postfix) with ESMTP id 11E7937BAF3; Thu, 8 Jun 2000 04:25:02 -0700 (PDT) (envelope-from clive@host.cer.ntnu.edu.tw) Received: (from clive@localhost) by host.cer.ntnu.edu.tw (8.9.3/8.9.3) id TAA96880; Thu, 8 Jun 2000 19:17:43 +0800 (CST) (envelope-from clive) Date: Thu, 8 Jun 2000 19:17:43 +0800 From: Clive Lin To: Brian Somers 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> Reply-To: Clive Lin References: <200006080848.BAA28589@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <200006080848.BAA28589@freefall.freebsd.org>; from brian@FreeBSD.ORG on Thu, Jun 08, 2000 at 01:48:16AM -0700 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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