From owner-freebsd-questions@FreeBSD.ORG Thu Mar 15 18:37:37 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0803816A404 for ; Thu, 15 Mar 2007 18:37:37 +0000 (UTC) (envelope-from lists@jnielsen.net) Received: from ns1.jnielsen.net (ns1.jnielsen.net [69.55.238.237]) by mx1.freebsd.org (Postfix) with ESMTP id E0D3A13C455 for ; Thu, 15 Mar 2007 18:37:36 +0000 (UTC) (envelope-from lists@jnielsen.net) Received: from localhost (jn@ns1 [69.55.238.237]) (authenticated bits=0) by ns1.jnielsen.net (8.12.9p2/8.12.9) with ESMTP id l2FIbUXl068128; Thu, 15 Mar 2007 14:37:32 -0400 (EDT) (envelope-from lists@jnielsen.net) From: John Nielsen To: freebsd-questions@freebsd.org Date: Thu, 15 Mar 2007 14:37:30 -0400 User-Agent: KMail/1.9.5 References: <200703151857.19679.bramschoenmakers@xs4all.nl> In-Reply-To: <200703151857.19679.bramschoenmakers@xs4all.nl> X-Face: #X5#Y*q>F:]zT!DegL3z5Xo'^MN[$8k\[4^3rN~wm=s=Uw(sW}R?3b^*f1Wu*.<=?utf-8?q?of=5F4NrS=0A=09P*M/9CpxDo!D6?=)IY1w<9B1jB; tBQf[RU-R<,I)e"$q7N7 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200703151437.30390.lists@jnielsen.net> X-Virus-Scanned: ClamAV version 0.88.4, clamav-milter version 0.88.4 on ns1.jnielsen.net X-Virus-Status: Clean Cc: Bram Schoenmakers Subject: Re: 'nodump' on directories: new contents still dumped 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: Thu, 15 Mar 2007 18:37:37 -0000 On Thursday 15 March 2007 13:57, Bram Schoenmakers wrote: > I'm using dump(8) for backing up a FreeBSD 4.10 server. In order to > decrease the resulting file size, I flagged some directories like > /usr/ports and /usr/src with 'nodump'. I adjusted the dump level 0 script > to have -h 0, so that worked fine. The other scripts for dumps >0 do not > have a -h flag set, because -h 1 is default. > > The problem is that new files appearing in the /usr/ports tree (daily > portsnap cron) do not have the 'nodump' flag set. But despite the 'nodump' > flag on the /usr/ports directory, the new files in the tree are still > dumped. > > I understood that dump does not enter directories with 'nodump' flag set, > so it shouldn't see the new files inside, right? Or is this behavior > implemented in a newer version than FreeBSD 4.10? I have scanned the CVS > logs for dump, but couldn't find anything relevant. Read the dump manpage more carefully, and pay particular attention to the -h flag. You probably want '-h0'. JN