tar archive format

Laird J. Heal laird at chinet.chi.il.us
Mon Jan 21 22:10:00 AEST 1991


>Where can I find detailed information about the format of tar archives?

[Oh, Ma, you won't mind if I talk about your 'old man' a little, will ya?]

>From an old man page on tar(1):

"The _tar_ header format is as follows:

#define TBLOCK 512
#define NBLOCK 40
#define NAMSIZ 100
union hblock {
         char dummy[TBLOCK];
         struct header {
                    char name[NAMESIZ];
                    char mode[8];
                    char uid[8];
                    char gid[8];
                    char size[12];
                    char mtime[12];
                    char chksum[8];
                    char linkflag;
                    char linkname[NAMESIZ];
         } dbuf;
} dblock, tbuf[NBLOCK];"

Laird J. Heal           
Here:  laird at chinet.chi.il.us



More information about the Comp.sys.sun mailing list