Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Mar 2014 13:59:52 -0600
From:      Brooks Davis <brooks@freebsd.org>
To:        Warner Losh <imp@bsdimp.com>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: bsdtar POLA change in 10.0?
Message-ID:  <20140306195952.GI9427@lor.one-eyed-alien.net>
In-Reply-To: <56BC2D25-7163-43A2-AB04-9A808AA98F85@gmail.com>
References:  <53171DAE.5070203@li.ru> <1394110822.21224.91297125.0B659AFB@webmail.messagingengine.com> <56BC2D25-7163-43A2-AB04-9A808AA98F85@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
On Thu, Mar 06, 2014 at 11:43:28AM -0700, Warner Losh wrote:
> 
> On Mar 6, 2014, at 6:00 AM, Mark Felder <feld@freebsd.org> wrote:
> 
> > 
> > 
> > On Wed, Mar 5, 2014, at 6:50, Marat N.Afanasyev wrote:
> >> I wonder why
> >> 
> >> bsdtar --one-file-system
> >> 
> >> suddenly started to skip archiving of mount-points? And no mention of 
> >> such behaviour change either in UPDATING or errata :(
> >> 
> > 
> >     --one-file-system
> >             (c, r, and u modes) Do not cross mount points.
> > 
> > Isn't that what it's supposed to do? Skip any mounted filesystems? Was
> > it broken before? Or do I simply not understand the behavior you're
> > seeing.
> 
> Before it would archive the directory where the other filesystem was mounted, but nothing else.
> 
> Now it doesn?t archive that directory.
> 
> I believe this is a bug, since that directory (but nothing in it or under it) still belongs to this filesystem...
> 

I think that directory should be archived, but people need to be aware
that the results aren't the same as if the directory were archived with
the filesystem unmounted as the permissions and ownership may vary.

-- Brooks

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (FreeBSD)

iKYEARECAGYFAlMY07ZfFIAAAAAALgAoaXNzdWVyLWZwckBub3RhdGlvbnMub3Bl
bnBncC5maWZ0aGhvcnNlbWFuLm5ldDY1NUQ1MTlDMjZBNzgyRTcyNTI5OUJGMDVE
OEU4QkU5RjIzODFBRDQACgkQXY6L6fI4GtSX6ACgm+TjDTREyubwYfsVR/OZ+BPi
S0EAoMpetRE0SOxexKeJyRfaaOt9Ly0B
=816C
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140306195952.GI9427>