From owner-freebsd-questions@FreeBSD.ORG Fri Nov 18 17:47:40 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 C7A7D1065670 for ; Fri, 18 Nov 2011 17:47:40 +0000 (UTC) (envelope-from kudzu@tenebras.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 65DC98FC14 for ; Fri, 18 Nov 2011 17:47:40 +0000 (UTC) Received: by wwg14 with SMTP id 14so5446852wwg.31 for ; Fri, 18 Nov 2011 09:47:39 -0800 (PST) MIME-Version: 1.0 Received: by 10.180.4.102 with SMTP id j6mr4246218wij.38.1321638459374; Fri, 18 Nov 2011 09:47:39 -0800 (PST) Received: by 10.180.81.193 with HTTP; Fri, 18 Nov 2011 09:47:39 -0800 (PST) In-Reply-To: <4EC69566.5060501@infracaninophile.co.uk> References: <99414592-7FC7-4F24-8FEA-6F2F7B03551A@strauser.com> <6de19086dd1301d00679b0e51ca10a5b.squirrel@www.magehandbook.com> <4EC69566.5060501@infracaninophile.co.uk> Date: Fri, 18 Nov 2011 09:47:39 -0800 Message-ID: From: Michael Sierchio To: Matthew Seaman Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org 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 17:47:40 -0000 On Fri, Nov 18, 2011 at 9:27 AM, Matthew Seaman wrote: > I find it quite astonishing that /proc would deliberately behave > differently to *every other* filesystem available. =A0The mountpoint > should belong to the filesystem mounted on it. I have an idea what you mean by "belong to" in this case and - if I'm right, you're wrong :-) A mount point has an inode in the parent filesystem, right? Good, glad we cleared that up. Unless you set the 'nodump' flag, and tell tar/gtar/tarsnap/dump to honor the flag, the archive will have an entry for the mount point. The 'one-file-system' flags tells gtar not to traverse mount points, but it will certainly see the mount point and include it in the archive, along with its modes, flags, atime, mtime, etc. etc. If those changed between the time if took a peek at the directory and the time it attempted to include it in the archive, you'll see those advisory warnings (which may be ignored in this case).