bsdtar POLA change in 10.0?

Brooks Davis brooks at freebsd.org
Thu Mar 6 19:59:57 UTC 2014


On Thu, Mar 06, 2014 at 11:43:28AM -0700, Warner Losh wrote:
> 
> On Mar 6, 2014, at 6:00 AM, Mark Felder <feld at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 326 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20140306/197bae15/attachment.sig>


More information about the freebsd-stable mailing list