Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Mar 2002 11:15:59 -0600
From:      D J Hawkey Jr <hawkeyd@visi.com>
To:        stable at FreeBSD <freebsd-stable@freebsd.org>
Subject:   RFC: Periodic scripts too liberal
Message-ID:  <20020303111559.A48593@sheol.localdomain>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020303111559.A48593>