Bug 173087 - pax(1) does not support the pax interchange format
Summary: pax(1) does not support the pax interchange format
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: standards (show other bugs)
Version: Unspecified
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-standards (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-25 22:10 UTC by Nathan Weeks
Modified: 2024-12-12 17:01 UTC (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nathan Weeks 2012-10-25 22:10:00 UTC
pax(1) does not support the pax interchange format. Support is both useful (e.g., to get around the 8GB file size limit of the ustar interchange format) and required for conformance with SUSv3/SUSv4.

Fix: 

Ideally, use libarchive(3); although it would probably be more straightforward to implement the (partial) pax interchange support from Mac OS X pax:

http://www.opensource.apple.com/source/file_cmds/file_cmds-220.7/pax/pax_format.c
How-To-Repeat: $ pax -x pax
pax: Unknown -x format: pax
pax: Known -x formats are: bcpio cpio sv4cpio sv4crc tar ustar
..
Comment 1 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 07:59:33 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped
Comment 2 Robert B. Carleton 2024-09-10 01:28:20 UTC
I'll add my ask for the pax interchange format. I prefer the pax command line, compared to tar(1).
Comment 3 Ed Maste freebsd_committer freebsd_triage 2024-09-10 17:10:30 UTC
Updating pax based on either one or both of Apple's and OpenBSD's version would be a fine idea if someone's looking for a project. Another fine idea would be to use libarchive, and submit the libarchive-based pax upstream there.
Comment 4 Dag-Erling Smørgrav freebsd_committer freebsd_triage 2024-09-10 18:53:16 UTC
Note that while Apple's pax used to be a fork of OpenBSD's, it is now a fork of ours, with modifications for POSIX conformance:

https://github.com/apple-oss-distributions/file_cmds/blob/main/pax/pax.plist.part
Comment 5 Henrich Hartzer 2024-12-12 17:01:28 UTC
I'd like to note that in OpenBSD 7.6, they are defaulting to pax format for tar and for pax. Might that be a worthwhile change as well?