PaxHeaders in tarball

后端 未结 1 1376
不知归路
不知归路 2021-01-17 09:59

I\'m doing a tar like in C, and I\'ve got a problem. I just want to archive and unarchive files and diretory, so I operate this command : tar -cvf NAME.ta

相关标签:
1条回答
  • 2021-01-17 10:36

    POSIX.1 2008 defines an extension to the ustar format called the pax format. It's new features are introduced using special files with typeflag set to x for an extended pax header (affects the next file) or g for a global pax header (affects all further files). These headers allow archiving programs to store additional attributes in tar files, like access time or extended length (to store file too large for conventional tar).

    Space in this answer is too restricted to replicate the full specification, read POSIX for more details.

    0 讨论(0)
提交回复
热议问题