From owner-freebsd-stable Sun Mar 3 12:18: 8 2002 Delivered-To: freebsd-stable@freebsd.org Received: from salmon.maths.tcd.ie (salmon.maths.tcd.ie [134.226.81.11]) by hub.freebsd.org (Postfix) with SMTP id 0874437B404 for ; Sun, 3 Mar 2002 12:18:00 -0800 (PST) Received: from hamilton.maths.tcd.ie by salmon.maths.tcd.ie with SMTP id ; 3 Mar 2002 20:17:59 +0000 (GMT) Date: Sun, 3 Mar 2002 20:17:59 +0000 From: David Malone To: D J Hawkey Jr Cc: stable at FreeBSD Subject: Re: RFC: Periodic scripts too liberal Message-ID: <20020303201759.GA88851@hamilton.maths.tcd.ie> References: <20020303111559.A48593@sheol.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020303111559.A48593@sheol.localdomain> User-Agent: Mutt/1.3.25i 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 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 - I'm sure it would be accepted as a patch if you submitted it. > 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 ;-) David. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message