root/tarfs/tar.h

Revision 2, 1.5 kB (checked in by nlawren2, 11 months ago)

It's broke, but it's progress

Line 
1 /* GNU tar Archive Format description.
2
3    Copyright (C) 1988, 1989, 1991, 1992, 1993, 1994, 1995, 1996, 1997,
4    2000, 2001, 2003, 2004, 2005, 2006, 2007 Free Software Foundation, Inc.
5
6    This program is free software; you can redistribute it and/or modify it
7    under the terms of the GNU General Public License as published by the
8    Free Software Foundation; either version 3, or (at your option) any later
9    version.
10
11    This program is distributed in the hope that it will be useful, but
12    WITHOUT ANY WARRANTY; without even the implied warranty of
13    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General
14    Public License for more details.
15
16    You should have received a copy of the GNU General Public License along
17    with this program; if not, write to the Free Software Foundation, Inc.,
18    51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.  */
19
20 /* tar Header Block, from POSIX 1003.1-1990.  */
21
22 /* POSIX header.  */
23
24 struct posix_header
25 {                               /* byte offset */
26   char name[100];               /*   0 */
27   char mode[8];                 /* 100 */
28   char uid[8];                  /* 108 */
29   char gid[8];                  /* 116 */
30   char size[12];                /* 124 */
31   char mtime[12];               /* 136 */
32   char chksum[8];               /* 148 */
33   char typeflag;                /* 156 */
34   char linkname[100];           /* 157 */
35   char magic[6];                /* 257 */
36   char version[2];              /* 263 */
37   char uname[32];               /* 265 */
38   char gname[32];               /* 297 */
39   char devmajor[8];             /* 329 */
40   char devminor[8];             /* 337 */
41   char prefix[155];             /* 345 */
42                                 /* 500 */
43 };
Note: See TracBrowser for help on using the browser.