From owner-freebsd-stable Sun Mar 3 9:16:18 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 2497F37B41C for ; Sun, 3 Mar 2002 09:16:04 -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 E48F52D0D92 for ; Sun, 3 Mar 2002 11:16:02 -0600 (CST) Received: (from hawkeyd@localhost) by sheol.localdomain (8.11.6/8.11.6) id g23HFxE48667 for freebsd-stable@freebsd.org; Sun, 3 Mar 2002 11:15:59 -0600 (CST) (envelope-from hawkeyd) Date: Sun, 3 Mar 2002 11:15:59 -0600 From: D J Hawkey Jr To: stable at FreeBSD Subject: RFC: Periodic scripts too liberal Message-ID: <20020303111559.A48593@sheol.localdomain> Reply-To: hawkeyd@visi.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i 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 Hello all. My bad if this is the wrong forum; apologies up front. I was going to enable a couple of periodic scripts, 100.clean-disks and 110.clean-tmps, until I read the fine print. 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'd blow away any one or another project's progress should it be left longer than the specified age. 110.clean-tmps removes empty directories found within the /tmp directories specified. This is, IMHO, a Bad Thing(tm): # ls -aF /tmp ./ .rplay-cache/ mutt-sheol-5680-0~ ../ mutt-sheol-47410-2~ mutt-sheol-5734-2~ .X0-lock mutt-sheol-47505-1~ mutt-sheol-5827-0~ .X11-unix/ mutt-sheol-48368-1~ .cdaudio/ mutt-sheol-48593-0 # ls -aF /var/tmp ./ psionic/ tmp.0.vRGQRV~ ../ tmp.0.q483H8~ vi.recover/ It would have bothered me greatly to wake up next week and find these listed subdirectories, or any others, missing. I realize I can copy these scripts - or any of 'em - to /usr/local/... and modify them as I please, but it still seems to me they (and p'raps others?) take too much for granted. Comments welcome, 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