Date: Fri, 18 Nov 2011 09:18:31 -0800 From: Michael Sierchio <kudzu@tenebras.com> To: Daniel Staal <DStaal@usa.net> Cc: freebsd-questions@freebsd.org Subject: Re: Shouldn't GNU tar be ignoring /proc with --one-file-system? Message-ID: <CAHu1Y728ykP7Bs1Z7_G2x1Rgd8EF_vWku0wrGaGv3J9i8nn67A@mail.gmail.com> In-Reply-To: <6de19086dd1301d00679b0e51ca10a5b.squirrel@www.magehandbook.com> References: <99414592-7FC7-4F24-8FEA-6F2F7B03551A@strauser.com> <6de19086dd1301d00679b0e51ca10a5b.squirrel@www.magehandbook.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Nov 18, 2011 at 8:59 AM, Daniel Staal <DStaal@usa.net> 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 <your options> --nodump
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAHu1Y728ykP7Bs1Z7_G2x1Rgd8EF_vWku0wrGaGv3J9i8nn67A>