From owner-freebsd-questions@FreeBSD.ORG Fri Nov 18 20:50:49 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 3949510656D3 for ; Fri, 18 Nov 2011 20:50:49 +0000 (UTC) (envelope-from terrence@mediamonks.net) Received: from mail.mediamonks.net (mail.mediamonks.net [217.195.117.200]) by mx1.freebsd.org (Postfix) with ESMTP id BC5968FC1F for ; Fri, 18 Nov 2011 20:50:48 +0000 (UTC) X-CGP-Sophos: Scanned and found clean X-Abuse-Info: Send abuse reports about this email to abuse@mediamonks.net Received: from [145.99.104.70] (account terrence@mediamonks.com) by mail.mediamonks.net (CommuniGate Pro IMAP 5.4.1) with XMIT id 7978295; Fri, 18 Nov 2011 21:20:44 +0100 Date: Fri, 18 Nov 2011 21:20:43 +0100 Organization: MediaMonks B.V. Message-Id: In-Reply-To: <6de19086dd1301d00679b0e51ca10a5b.squirrel@www.magehandbook.com> MIME-Version: 1.0 Thread-Topic: Shouldn't GNU tar be ignoring /proc with --one-file-system? Priority: Normal Importance: normal X-MSMail-Priority: normal X-Priority: 3 Sensitivity: Normal Thread-Index: AcymL4vxSc99wGyJQNmE8W9gF/GCxA== From: "Terrence Koeman" To: "Daniel Staal" , "freebsd-questions@freebsd.org" X-Mailer: CommuniGate Pro MAPI Connector 1.52.54.6/1.54.0.6 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Mailman-Approved-At: Fri, 18 Nov 2011 21:28:54 +0000 Cc: 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 20:50:49 -0000 > -----Original Message----- > From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd- > questions@freebsd.org] On Behalf Of Daniel Staal > Sent: Friday, November 18, 2011 18:00 > To: freebsd-questions@freebsd.org > Subject: Re: Shouldn't GNU tar be ignoring /proc with --one-file- > system? > > > 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. > However, the file /proc on fs / should not be changing since a filesystem /= proc is mounted over it. The message "./proc: file changed as we read it" i= ndicates whatever /proc it is trying to read did change... -- Regards, T. Koeman, MTh/BSc/BPsy; Technical Monk MediaMonks B.V. (www.mediamonks.com) Please quote relevant replies in correspondence.