Page MenuHomeFreeBSD

tarfs: Ignore global extended headers.
ClosedPublic

Authored by des on Apr 2 2024, 8:15 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Aug 15, 1:00 AM
Unknown Object (File)
Sat, Aug 9, 4:35 AM
Unknown Object (File)
Tue, Jul 29, 7:45 AM
Unknown Object (File)
Mon, Jul 28, 7:22 AM
Unknown Object (File)
Fri, Jul 25, 12:42 PM
Unknown Object (File)
Thu, Jul 24, 2:54 PM
Unknown Object (File)
Jul 6 2025, 12:02 AM
Unknown Object (File)
Jul 5 2025, 10:25 AM

Details

Summary

Previously, we would error out if we encountered a global extended
header, because we don't know what it means. This doesn't really
matter though, and traditionally, tar implementations have either
ignored them or treated them as plain files, so just ignore them.
This allows tarfs to mount tar files created by git archive.

MFC after: 3 days
Sponsored by: Juniper Networks, Inc.
Sponsored by: Klara, Inc.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 56876
Build 53764: arc lint + arc unit