From owner-freebsd-bugs Sun Sep 22 13:13: 1 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 468AC37B401; Sun, 22 Sep 2002 13:13:00 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id E915343E42; Sun, 22 Sep 2002 13:12:59 -0700 (PDT) (envelope-from schweikh@FreeBSD.org) Received: from freefall.freebsd.org (schweikh@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id g8MKCxCo055014; Sun, 22 Sep 2002 13:12:59 -0700 (PDT) (envelope-from schweikh@freefall.freebsd.org) Received: (from schweikh@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id g8MKCxpx055009; Sun, 22 Sep 2002 13:12:59 -0700 (PDT) Date: Sun, 22 Sep 2002 13:12:59 -0700 (PDT) From: Jens Schweikhardt Message-Id: <200209222012.g8MKCxpx055009@freefall.freebsd.org> To: jonc@chen.org.nz, schweikh@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: conf/43146: rc.conf: clear_tmp_enable=YES doesn't clear /tmp/.[a-zA-Z]* files 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 Synopsis: rc.conf: clear_tmp_enable=YES doesn't clear /tmp/.[a-zA-Z]* files State-Changed-From-To: open->feedback State-Changed-By: schweikh State-Changed-When: Sun Sep 22 13:07:06 PDT 2002 State-Changed-Why: 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. http://www.freebsd.org/cgi/query-pr.cgi?pr=43146 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message