Date: Sun, 3 Mar 2002 16:10:30 -0600 From: D J Hawkey Jr <hawkeyd@visi.com> To: David Malone <dwmalone@maths.tcd.ie> Cc: stable at FreeBSD <freebsd-stable@freebsd.org> Subject: Re: RFC: Periodic scripts too liberal Message-ID: <20020303161030.A49317@sheol.localdomain> In-Reply-To: <20020303201759.GA88851@hamilton.maths.tcd.ie>; from dwmalone@maths.tcd.ie on Sun, Mar 03, 2002 at 08:17:59PM %2B0000 References: <20020303111559.A48593@sheol.localdomain> <20020303201759.GA88851@hamilton.maths.tcd.ie>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020303161030.A49317>
