From owner-freebsd-questions@FreeBSD.ORG Fri Nov 18 17:18:33 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 20817106564A for ; Fri, 18 Nov 2011 17:18:33 +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 ABA768FC15 for ; Fri, 18 Nov 2011 17:18:32 +0000 (UTC) Received: by wwg14 with SMTP id 14so5399417wwg.31 for ; Fri, 18 Nov 2011 09:18:31 -0800 (PST) MIME-Version: 1.0 Received: by 10.216.229.234 with SMTP id h84mr521529weq.76.1321636711403; Fri, 18 Nov 2011 09:18:31 -0800 (PST) Received: by 10.180.81.193 with HTTP; Fri, 18 Nov 2011 09:18:31 -0800 (PST) In-Reply-To: <6de19086dd1301d00679b0e51ca10a5b.squirrel@www.magehandbook.com> References: <99414592-7FC7-4F24-8FEA-6F2F7B03551A@strauser.com> <6de19086dd1301d00679b0e51ca10a5b.squirrel@www.magehandbook.com> Date: Fri, 18 Nov 2011 09:18:31 -0800 Message-ID: From: Michael Sierchio To: Daniel Staal 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:18:33 -0000 On Fri, Nov 18, 2011 at 8:59 AM, Daniel Staal wrote: > /proc is a file on /. =A0/proc/* are files on /proc. =A0The former is sti= ll on > the root filesystem (if only as a directory stub to be used as a > mountpoint), so reading it isn't leaving that filesystem. =A0Reading > anything *in* it would be. > > Just a thought. And a good one. Yes, that's it. It isn't crossing the mount point, but the mount point is part of the root filesystem. If you really want it to ignore the mount point itself, set the nodump flag and tell gtar to honor it: > chflags nodump /proc > gtar --nodump