Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Nov 2011 09:47:39 -0800
From:      Michael Sierchio <kudzu@tenebras.com>
To:        Matthew Seaman <m.seaman@infracaninophile.co.uk>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Shouldn't GNU tar be ignoring /proc with --one-file-system?
Message-ID:  <CAHu1Y716DZ1t1%2Bfou_BaFcjUG8pQ%2BBi1-=fGEB-HWDej0pHgUA@mail.gmail.com>
In-Reply-To: <4EC69566.5060501@infracaninophile.co.uk>
References:  <99414592-7FC7-4F24-8FEA-6F2F7B03551A@strauser.com> <6de19086dd1301d00679b0e51ca10a5b.squirrel@www.magehandbook.com> <CAHu1Y728ykP7Bs1Z7_G2x1Rgd8EF_vWku0wrGaGv3J9i8nn67A@mail.gmail.com> <4EC69566.5060501@infracaninophile.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Nov 18, 2011 at 9:27 AM, Matthew Seaman
<m.seaman@infracaninophile.co.uk> 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).



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAHu1Y716DZ1t1%2Bfou_BaFcjUG8pQ%2BBi1-=fGEB-HWDej0pHgUA>