bsdtar POLA change in 10.0?
Jan Mikkelsen
janm at transactionware.com
Thu Dec 11 05:34:43 UTC 2014
> On 7 Mar 2014, at 20:42, Ronald Klop <ronald-lists at klop.ws> wrote:
>
> On Thu, 06 Mar 2014 19:43:28 +0100, Warner Losh <imp at bsdimp.com> 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...
>>
>> Warner
>
> I cc'ed libarchive-discuss at googlegroups.com for more exposure to the issue.
>
Reviving an old discussion — this just caused my build process for 10.1 to create root filesystems without /dev, which is obviously constraining.
Using the --one-file-system option should should preserve mount point directories. Will this be fixed?
Jan.
More information about the freebsd-stable
mailing list