From owner-freebsd-questions@FreeBSD.ORG Fri Nov 18 16:59:45 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4F5CD106564A for ; Fri, 18 Nov 2011 16:59:45 +0000 (UTC) (envelope-from DStaal@usa.net) Received: from mail.magehandbook.com (173-8-4-45-WashingtonDC.hfc.comcastbusiness.net [173.8.4.45]) by mx1.freebsd.org (Postfix) with ESMTP id 22D688FC0C for ; Fri, 18 Nov 2011 16:59:44 +0000 (UTC) Received: from www.magehandbook.com (archersrock.info [192.168.1.100]) by mail.magehandbook.com (Postfix) with ESMTP id 05EA2F60 for ; Fri, 18 Nov 2011 11:59:44 -0500 (EST) Received: from 152.121.16.254 (SquirrelMail authenticated user daniel) by www.magehandbook.com with HTTP; Fri, 18 Nov 2011 11:59:44 -0500 Message-ID: <6de19086dd1301d00679b0e51ca10a5b.squirrel@www.magehandbook.com> In-Reply-To: <99414592-7FC7-4F24-8FEA-6F2F7B03551A@strauser.com> References: <99414592-7FC7-4F24-8FEA-6F2F7B03551A@strauser.com> Date: Fri, 18 Nov 2011 11:59:44 -0500 From: "Daniel Staal" To: freebsd-questions@freebsd.org User-Agent: SquirrelMail/1.4.22 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Subject: Re: Shouldn't GNU tar be ignoring /proc with --one-file-system? 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: Fri, 18 Nov 2011 16:59:45 -0000 On Fri, November 18, 2011 10:34 am, Kirk Strauser wrote: > I use Amanda to make nightly backups of a bunch of servers using GNU tar. > However, gtar doesn't seem to respect its --one-file-system flag with > /proc. Amanda runs a variation of this command: > > # /usr/local/bin/gtar --create --file - --directory / > --one-file-system --sparse --ignore-failed-read --totals . > /dev/null > /usr/local/bin/gtar: ./proc: file changed as we read it > > Before I file a bug report, can anyone think of a legitimate reason why > gtar would be touching /proc at all? Just a guess, really but: /proc is a file on /. /proc/* are files on /proc. The former is still on the root filesystem (if only as a directory stub to be used as a mountpoint), so reading it isn't leaving that filesystem. Reading anything *in* it would be. Just a thought. Daniel T. Staal --------------------------------------------------------------- This email copyright the author. Unless otherwise noted, you are expressly allowed to retransmit, quote, or otherwise use the contents for non-commercial purposes. This copyright will expire 5 years after the author's death, or in 30 years, whichever is longer, unless such a period is in excess of local copyright law. ---------------------------------------------------------------