Ar (Unix) - File Format Details

File Format Details

The ar format has never been standardized; modern archives are based on a common format with two known variants, BSD and GNU.

Historically there have been other variants including AIX (small), AIX (big) and Coherent, which all vary significantly from the common format.

Debian ".deb" archives use the common format.

An ar file begins with a global header, followed by a header and data section for each file stored within the ar file.

The data section is 2 byte aligned. If it would end on an odd offset, a '\n' is used as filler.

Read more about this topic:  Ar (Unix)

Famous quotes containing the words file and/or details:

    Probably nothing in the experience of the rank and file of workers causes more bitterness and envy than the realization which comes sooner or later to many of them that they are “stuck” and can go no further.
    Mary Barnett Gilson (1877–?)

    Then he told the news media
    the strange details of his death
    and they hammered him up in the marketplace
    and sold him and sold him and sold him.
    My death the same.
    Anne Sexton (1928–1974)