Path: utzoo!utgpu!cunews!bnrgate!brtph3!brchh104!brchs1!bnr.ca!rice.edu!sun-spots-request From: laird@chinet.chi.il.us (Laird J. Heal) Newsgroups: comp.sys.sun Subject: Re: tar archive format Keywords: Miscellaneous Message-ID: <1428@brchh104.bnr.ca> Date: 21 Jan 91 11:10:00 GMT Sender: news@brchh104.bnr.ca Organization: Sun-Spots Lines: 28 Approved: Sun-Spots@rice.edu X-Refs: Original: v10n15, Replies: v10n24 X-Sun-Spots-Digest: Volume 10, Issue 29, message 4 X-Note: Submissions: sun-spots@rice.edu, Admin: sun-spots-request@rice.edu >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@chinet.chi.il.us