From owner-freebsd-stable@FreeBSD.ORG Thu Mar 6 13:38:10 2014 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1E3537BA; Thu, 6 Mar 2014 13:38:10 +0000 (UTC) Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id E1C8737A; Thu, 6 Mar 2014 13:38:09 +0000 (UTC) Received: from compute1.internal (compute1.nyi.mail.srv.osa [10.202.2.41]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id 2504520CE1; Thu, 6 Mar 2014 08:38:08 -0500 (EST) Received: from web3 ([10.202.2.213]) by compute1.internal (MEProxy); Thu, 06 Mar 2014 08:38:08 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=message-id:from:to:cc:mime-version :content-transfer-encoding:content-type:in-reply-to:references :subject:date; s=smtpout; bh=70eKSFKoNjrs/f9lXMktemZk0Hk=; b=nu6 5gk5k5P9E9kwq25hUk3dfSEmICvzZSyoIM4DVh3Zh808n8GFx/KkKMp3NN9mEsJF V6pynDgTVYz+3VIFpzC4GUeegYuLguD3vmsEgcgsLW2B1U/a51vARJzjzsjbB7Fk kWbrBVhCoJyjI6YcBq1eX+T0kRPNkzCg8r5/GSuI= Received: by web3.nyi.mail.srv.osa (Postfix, from userid 99) id F198D1176AA; Thu, 6 Mar 2014 08:38:07 -0500 (EST) Message-Id: <1394113087.32298.91309373.60F58195@webmail.messagingengine.com> X-Sasl-Enc: LvO5F7gS/VIWSDiQmLy9C/d6XJf9E1FZ8YCqMEwUbGpt 1394113087 From: Mark Felder To: Ronald Klop , freebsd-stable@freebsd.org MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain X-Mailer: MessagingEngine.com Webmail Interface - ajax-4527a23f In-Reply-To: References: <53171DAE.5070203@li.ru> <1394110822.21224.91297125.0B659AFB@webmail.messagingengine.com> <1394111704.25672.91302321.2D5C71E3@webmail.messagingengine.com> Subject: Re: bsdtar POLA change in 10.0? Date: Thu, 06 Mar 2014 07:38:07 -0600 Cc: mm@FreeBSD.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Mar 2014 13:38:10 -0000 On Thu, Mar 6, 2014, at 7:25, Ronald Klop wrote: > On Thu, 06 Mar 2014 14:15:04 +0100, Mark Felder wrote: > > > > > > > On Thu, Mar 6, 2014, at 7:12, Ronald Klop wrote: > >> On Thu, 06 Mar 2014 14:00:22 +0100, Mark Felder > >> 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. > >> > >> The question is if the mountpoint (directory in the 'current' > >> filesystem) > >> itself should be tarred. After untarring you can than make the same > >> mounts > >> again, for example. > >> > > > > So you're saying that if I have a disk mounted at /mnt/disk and my tar > > with --one-file-system includes /mnt, the empty directory /mnt/disk will > > not be in the tarball? > > That is how I read the question of Marat N.Afanasyev. > I have been able to reproduce this behavior. I wonder if this is a regression in the libarchive update. https://github.com/libarchive/libarchive CC'ing mm@ as he brought in the last update