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:
“A common and natural result of an undue respect for law is, that you may see a file of soldiers, colonel, captain, corporal, privates, powder-monkeys, and all, marching in admirable order over hill and dale to the wars, against their wills, ay, against their common sense and consciences, which makes it very steep marching indeed, and produces a palpitation of the heart.”
—Henry David Thoreau (18171862)
“Anyone can see that to write Uncle Toms Cabin on the knee in the kitchen, with constant calls to cooking and other details of housework to punctuate the paragraphs, was a more difficult achievement than to write it at leisure in a quiet room.”
—Anna Garlin Spencer (18511931)