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)
Wed, Nov 20, 9:07 PM
Unknown Object (File)
Sat, Nov 16, 8:30 AM
Unknown Object (File)
Sat, Nov 9, 3:54 AM
Unknown Object (File)
Thu, Nov 7, 12:37 PM
Unknown Object (File)
Thu, Nov 7, 11:40 AM
Unknown Object (File)
Thu, Nov 7, 11:19 AM
Unknown Object (File)
Thu, Nov 7, 11:12 AM
Unknown Object (File)
Wed, Nov 6, 11:50 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 Not Applicable
Unit
Tests Not Applicable