From owner-freebsd-questions Tue May 21 06:44:09 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id GAA25507 for questions-outgoing; Tue, 21 May 1996 06:44:09 -0700 (PDT) Received: from uswgco2.uswc.uswest.com (uswgco2.uswest.com [206.196.133.74]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id GAA25502 for ; Tue, 21 May 1996 06:44:07 -0700 (PDT) Received: (from smap@localhost) by uswgco2.uswc.uswest.com (8.7.1/8.7.1) id HAA04928; Tue, 21 May 1996 07:43:07 -0600 (MDT) Received: from egate.mnet.uswest.com(151.116.23.138) by uswgco2.uswc.uswest.com via smap (V1.3) id sma004926; Tue May 21 07:42:39 1996 Received: from easthub (easthub.mnet.uswest.com [151.117.26.86]) by egate.mnet.uswest.com (8.7.1/8.7.1) with SMTP id HAA09404; Tue, 21 May 1996 07:42:38 -0600 (MDT) Received: by easthub.mnet.uswest.com (M-Net Hub.951228) Received: from astro.acs.uswest.com by acs.uswest.com (5.x/SMI-SVR4) id AA25094; Tue, 21 May 1996 08:42:37 -0500 Received: by astro.acs.uswest.com (SMI-8.6/SMI-SVR4) id IAA24615; Tue, 21 May 1996 08:42:34 -0500 From: ptroot@uswest.com (Paul T. Root) Message-Id: <199605211342.IAA24615@astro.acs.uswest.com> Subject: Re: message from daily run To: compland@ism.com.br (Helio Coelho Jr. - CompuLand Informatica) Date: Tue, 21 May 1996 08:42:34 -0500 (CDT) Cc: questions@freebsd.org In-Reply-To: <199605211314.KAA13216@unix1.ism.com.br> from "Helio Coelho Jr. - CompuLand Informatica" at May 21, 96 10:14:51 am X-Organization: !nterprise Networking Services X-Phone: (612) 663-1979 X-Fax: (612) 663-8030 X-Page: (800) SKY-PAGE PIN: 537-7270 X-Address: 200 S. 5th St., Suite 1100 X-Address: Minneapolis, MN 55402 X-Mailer: ELM [version 2.4 PL25] Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk In a previous message, Helio Coelho Jr. - CompuLand Informatica said: > > Hi: > > I got that message from daily run output in a FreeBSD 2.1R box: > > > Removing scratch and junk files: > You did not enable the cleaning of / in /etc/daily! > > What that mean ? > > Thanks a lot! > Helio. This is the pertinent code. It removes core and backup files. And as you can see from the comment, it isn't safe. Ignore it, comment it out, or uncomment the find and edit to taste. cd /tmp # This is not safe, you need to decide what is appropriate for your # system. Leave a warning note for now. echo "You did not enable the cleaning of / in /etc/daily!" # #find / ! -fstype local -a -prune -o \ # \( -name '[#,]*' -o -name '.#*' -o -name a.out -o -name *.core \ # -o -name '*.CKP' -o -name '.emacs_[0-9]*' \) \ # -a -atime +3 -exec rm -f -- {} \; # -- Paul T. Root - USWEST !NTERPRISE Networking Service ptroot@uswest.com Whoever said, "It's not whether you win or lose that counts," probably lost! -- M. Navratilova