From owner-freebsd-stable Sun Mar 3 14:10:50 2002 Delivered-To: freebsd-stable@freebsd.org Received: from breg.mc.mpls.visi.com (breg.mc.mpls.visi.com [208.42.156.101]) by hub.freebsd.org (Postfix) with ESMTP id 3D84A37B404 for ; Sun, 3 Mar 2002 14:10:47 -0800 (PST) Received: from sheol.localdomain (hawkeyd-fw.dsl.visi.com [208.42.101.193]) by breg.mc.mpls.visi.com (Postfix) with ESMTP id 8FAC52D04F5; Sun, 3 Mar 2002 16:10:45 -0600 (CST) Received: (from hawkeyd@localhost) by sheol.localdomain (8.11.6/8.11.6) id g23MAU949369; Sun, 3 Mar 2002 16:10:30 -0600 (CST) (envelope-from hawkeyd) Date: Sun, 3 Mar 2002 16:10:30 -0600 From: D J Hawkey Jr To: David Malone Cc: stable at FreeBSD Subject: Re: RFC: Periodic scripts too liberal Message-ID: <20020303161030.A49317@sheol.localdomain> Reply-To: hawkeyd@visi.com References: <20020303111559.A48593@sheol.localdomain> <20020303201759.GA88851@hamilton.maths.tcd.ie> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020303201759.GA88851@hamilton.maths.tcd.ie>; from dwmalone@maths.tcd.ie on Sun, Mar 03, 2002 at 08:17:59PM +0000 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mar 03, at 08:17 PM, David Malone wrote: > > On Sun, Mar 03, 2002 at 11:15:59AM -0600, D J Hawkey Jr wrote: > > 100.clean-disks has no allowance for excluding paths; I would not want > > it to clean core dumps or a.out within $(HOME) directories, for instance. > > It would be relatively easy to add a variable which gave directories > to skip... > > > It would have bothered me greatly to wake up next week and find these > > listed subdirectories, or any others, missing. > > It will only delete these directories if they are empty and they > haven't been modified in $daily_clean_tmps_days. (You can't check > if they have been accesses as the previous find will have accessed > them.) I'm not sure how much concelation that is ;-) Understood, but not much. They're usually created on software installation, and short of 'grep'ing and reading the source, an user would have no idea if the software would re-create them on demand, no matter how frequently they're accessed. 'man hier' lists /var/tmp/vi.recover as part of the FreeBSD filesystem, and as such, should not by default be removed by a FreeBSD support script. By extension, no other directory should be, either. > ...I'm sure it would be accepted as a patch if you submitted it. As is my plan, for both, unless a quorum thinks the current behavior of these are proper. > David. Dave -- ______________________ ______________________ \__________________ \ D. J. HAWKEY JR. / __________________/ \________________/\ hawkeyd@visi.com /\________________/ http://www.visi.com/~hawkeyd/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message