From owner-freebsd-hackers Sat Jun 22 16:37:01 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id QAA17284 for hackers-outgoing; Sat, 22 Jun 1996 16:37:01 -0700 (PDT) Received: from linux4nn.gn.iaf.nl (root@linux4nn.gn.iaf.nl [193.67.144.34]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id QAA17279 for ; Sat, 22 Jun 1996 16:36:57 -0700 (PDT) Received: from uni4nn.iaf.nl (root@uni4nn.iaf.nl [193.67.144.33]) by linux4nn.gn.iaf.nl (8.6.9/8.6.9) with SMTP id BAA15233; Sun, 23 Jun 1996 01:37:36 +0200 Received: by uni4nn.iaf.nl with UUCP id AA14698 (5.67b/IDA-1.5); Sun, 23 Jun 1996 01:37:05 +0200 Received: by iafnl.es.iaf.nl with UUCP id AA09064 (5.67b/IDA-1.5); Sun, 23 Jun 1996 00:13:43 +0200 Received: (from wilko@localhost) by yedi.iaf.nl (8.6.12/8.6.6) id XAA05610; Sat, 22 Jun 1996 23:58:28 +0200 From: Wilko Bulte Message-Id: <199606222158.XAA05610@yedi.iaf.nl> X-Organisation: Private FreeBSD site - Arnhem - The Netherlands Subject: Re: Cleaning of /tmp in /etc/rc To: tom@sdf.com (Tom Samplonius) Date: Sat, 22 Jun 1996 23:58:28 +0200 (MET DST) Cc: joerg_wunsch@uriah.heep.sax.de, freebsd-hackers@FreeBSD.org In-Reply-To: from "Tom Samplonius" at Jun 22, 96 12:57:19 pm X-Mailer: ELM [version 2.4 PL23] Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk As Tom Samplonius wrote... > On Sat, 22 Jun 1996, J Wunsch wrote: > > > Does anybody know what the following is for? > > > > # prune quickly with one rm, then use find to clean up /tmp/[lq]* > > # (not needed with mfs /tmp, but doesn't hurt there...) > > (cd /tmp && rm -rf [a-km-pr-zA-Z]* && > > find -d . ! -name . ! -name lost+found ! -name quotas -exec rm -rf -- {} \;) > > It's supposed to delete everything in /tmp except lost+found and > quota.user and/or quota.group > > I believe lost+found can be safetly removed. I don't think the lost+found clause is useless: consider a /tmp that is a seperately mounted filesystem. Wilko _ __________________________________________________________________________ | / o / / _ Wilko Bulte email: wilko@yedi.iaf.nl |/|/ / / /( (_) Private FreeBSD site - Arnhem - The Netherlands --------------------------------------------------------------------------------