Hacker News new | ask | show | jobs
by stabbles 20 days ago
Were you involved with this process? I'm the author of the blog post, and I'm looking for people to discuss a rewrite of that POSIX pax page. What bothers me most about that section is that it prescribes that if you don't support a (vendor) typeflag, you should treat it as a header for a regular file, extract it, and continue with the next header. The problem is that vendor extensions may change the framing of the archive, and POSIX sets a precedent for that with pax headers, where you can override size=... of the next header. It should just leave it unspecified what you should do when you encounter an unrecognized header, or say that the implementation may error. There are more such improvements to be made.
2 comments

I think that as of last Sunday you discovered the best place to be for that. (-:

Although now comes the hard part: filing defect reports and convincing other people.

Ah, excellent, so my email did come through ;)
> Were you involved with this process?

No, I wasn't even born back then :) But I too had to look into implementing basic tar support at some point of my career and golly gee willikers, what a trip it was. It seems that, for whatever reason, people just can not invent a simple, straightforward (but capable!) archive format.