From owner-freebsd-stable@FreeBSD.ORG Fri Dec 12 08:05:02 2014 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 21FC5923 for ; Fri, 12 Dec 2014 08:05:02 +0000 (UTC) Received: from mail3.transactionware.com (mail.transactionware.com [203.14.245.7]) by mx1.freebsd.org (Postfix) with SMTP id 8676FBC for ; Fri, 12 Dec 2014 08:05:00 +0000 (UTC) Received: (qmail 79987 invoked by uid 907); 12 Dec 2014 08:04:49 -0000 Received: from Unknown (HELO jmmacpro.tmst.com.au) (203.14.245.130) (smtp-auth username janm, mechanism plain) by mail3.transactionware.com (qpsmtpd/0.84) with (DHE-RSA-AES256-SHA encrypted) ESMTPSA; Fri, 12 Dec 2014 19:04:49 +1100 Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 8.1 \(1993\)) Subject: Re: bsdtar POLA change in 10.0? From: Jan Mikkelsen In-Reply-To: <5BEC32C8-3611-419C-A0C8-3AB4DA776A27@transactionware.com> Date: Fri, 12 Dec 2014 19:05:13 +1100 Content-Transfer-Encoding: quoted-printable Message-Id: References: <53171DAE.5070203@li.ru> <1394110822.21224.91297125.0B659AFB@webmail.messagingengine.com> <56BC2D25-7163-43A2-AB04-9A808AA98F85@gmail.com> <5BEC32C8-3611-419C-A0C8-3AB4DA776A27@transactionware.com> To: Ronald Klop X-Mailer: Apple Mail (2.1993) Cc: libarchive-discuss@googlegroups.com, freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Dec 2014 08:05:02 -0000 > On 11 Dec 2014, at 16:34, Jan Mikkelsen = wrote: >=20 >=20 >> On 7 Mar 2014, at 20:42, Ronald Klop wrote: >>=20 >> On Thu, 06 Mar 2014 19:43:28 +0100, Warner Losh = wrote: >>=20 >>>=20 >>> On Mar 6, 2014, at 6:00 AM, Mark Felder wrote: >>>=20 >>>>=20 >>>>=20 >>>> On Wed, Mar 5, 2014, at 6:50, Marat N.Afanasyev wrote: >>>>> I wonder why >>>>>=20 >>>>> bsdtar --one-file-system >>>>>=20 >>>>> suddenly started to skip archiving of mount-points? And no mention = of >>>>> such behaviour change either in UPDATING or errata :( >>>>>=20 >>>>=20 >>>> --one-file-system >>>> (c, r, and u modes) Do not cross mount points. >>>>=20 >>>> 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. >>>=20 >>> Before it would archive the directory where the other filesystem was = mounted, but nothing else. >>>=20 >>> Now it doesn=E2=80=99t archive that directory. >>>=20 >>> I believe this is a bug, since that directory (but nothing in it or = under it) still belongs to this filesystem... >>>=20 >>> Warner >>=20 >> I cc'ed libarchive-discuss@googlegroups.com for more exposure to the = issue. >>=20 >=20 > Reviving an old discussion =E2=80=94 this just caused my build process = for 10.1 to create root filesystems without /dev, which is obviously = constraining. >=20 > Using the --one-file-system option should should preserve mount point = directories. Will this be fixed? In case anyone is interested, this has been fixed upstream: = https://github.com/libarchive/libarchive/commit/fa9e61aa1531153b7748d4e0d8= dda8f52a0893d7 Jan.