From owner-freebsd-questions@FreeBSD.ORG Wed Jan 30 18:13:58 2008 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 09E3316A60E; Wed, 30 Jan 2008 18:13:58 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.freebsd.org (Postfix) with ESMTP id C070A13C4CC; Wed, 30 Jan 2008 18:13:57 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (localhost [127.0.0.1]) by spam.des.no (Postfix) with ESMTP id DC22F208F; Wed, 30 Jan 2008 18:54:02 +0100 (CET) X-Spam-Tests: AWL X-Spam-Learn: disabled X-Spam-Score: -0.2/3.0 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on tim.des.no Received: from ds4.des.no (des.no [80.203.243.180]) by smtp.des.no (Postfix) with ESMTP id CDFE6208E; Wed, 30 Jan 2008 18:54:02 +0100 (CET) Received: by ds4.des.no (Postfix, from userid 1001) id B3C2784487; Wed, 30 Jan 2008 18:54:02 +0100 (CET) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: Mikhail Teterin References: <200801301139.21989.mi+mill@aldan.algebra.com> Date: Wed, 30 Jan 2008 18:54:02 +0100 In-Reply-To: <200801301139.21989.mi+mill@aldan.algebra.com> (Mikhail Teterin's message of "Wed\, 30 Jan 2008 11\:39\:21 -0500") Message-ID: <86tzkvurlx.fsf@ds4.des.no> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: questions@freebsd.org, fs@freebsd.org Subject: Re: Automatic `nodump' flag? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Jan 2008 18:13:58 -0000 Mikhail Teterin writes: > I'd like the entire contents of each user's .mozilla/firefox/*/Cache > directory to be excluded from the regular filesystem dumps. > > Running ``chflags -R nodump /home/*/.mozilla/firefox/*/Cache'' does > the trick, but this needs to be redone daily -- prior to running the > backup -- because new entries appear in the caches, obviously... The > new entries don't have the nodump flag set. > > Is there a way, the flag can be set automatically? For example, > inherited from the directory? Thanks! Hmm, shoudn't whichever backup tool you're using stop when it encounters a nodump directory? You shouldn't need to set nodump on the files themselves. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no