From owner-freebsd-bugs Sun Sep 22 19:41:59 2002 Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5CF5F37B401; Sun, 22 Sep 2002 19:41:58 -0700 (PDT) Received: from chen.org.nz (chen.org.nz [210.54.19.51]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2084E43E42; Sun, 22 Sep 2002 19:41:57 -0700 (PDT) (envelope-from jonc@chen.org.nz) Received: from grimoire.chen.org.nz (localhost [127.0.0.1]) by chen.org.nz (8.12.6/8.12.6) with ESMTP id g8N2fn5Q000314; Mon, 23 Sep 2002 14:41:49 +1200 (NZST) (envelope-from jonc@grimoire.chen.org.nz) Received: (from jonc@localhost) by grimoire.chen.org.nz (8.12.6/8.12.6/Submit) id g8N2fmsr000313; Mon, 23 Sep 2002 14:41:48 +1200 (NZST) Date: Mon, 23 Sep 2002 14:41:48 +1200 From: Jonathan Chen To: Jens Schweikhardt Cc: freebsd-bugs@FreeBSD.org Subject: Re: conf/43146: rc.conf: clear_tmp_enable=YES doesn't clear /tmp/.[a-zA-Z]* files Message-ID: <20020923024148.GA291@grimoire.chen.org.nz> References: <200209222012.g8MKCxpx055009@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200209222012.g8MKCxpx055009@freefall.freebsd.org> User-Agent: Mutt/1.4i Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Sun, Sep 22, 2002 at 01:12:59PM -0700, Jens Schweikhardt wrote: [...] > I have a hard time to believe that it would not remove the > dot files. The "find" takes care of that. What does > > cd /tmp > find -d . ! -name . ! -name lost+found ! -name quota.user \ > ! -name quota.group -exec echo {} \; > > output? Note that your solution would also leave behind .[0-9]* > files, so it is not the general solution. Mea culpa. Some of the files left behind had been chflag'd. The PR can be closed.. Sorry! -- Jonathan Chen ----------------------------------------------------------------------- "One, with God, is always a majority, but many a martyr has been burned at the stake while the votes were being counted." -- Thomas B. Reed To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message