Deleted Added
full compact
tar.h (127958) tar.h (203613)
1/*-
2 * Copyright (c) 1992 Keith Muller.
3 * Copyright (c) 1992, 1993
4 * The Regents of the University of California. All rights reserved.
5 *
6 * This code is derived from software contributed to Berkeley by
7 * Keith Muller of the University of California, San Diego.
8 *

--- 17 unchanged lines hidden (view full) ---

26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31 * SUCH DAMAGE.
32 *
33 * @(#)tar.h 8.2 (Berkeley) 4/18/94
1/*-
2 * Copyright (c) 1992 Keith Muller.
3 * Copyright (c) 1992, 1993
4 * The Regents of the University of California. All rights reserved.
5 *
6 * This code is derived from software contributed to Berkeley by
7 * Keith Muller of the University of California, San Diego.
8 *

--- 17 unchanged lines hidden (view full) ---

26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31 * SUCH DAMAGE.
32 *
33 * @(#)tar.h 8.2 (Berkeley) 4/18/94
34 * $FreeBSD: head/bin/pax/tar.h 127958 2004-04-06 20:06:54Z markm $
34 * $FreeBSD: head/bin/pax/tar.h 203613 2010-02-07 17:05:22Z imp $
35 */
36
37/*
38 * defines and data structures common to all tar formats
39 */
40#define CHK_LEN 8 /* length of checksum field */
41#define TNMSZ 100 /* size of name field */
42#ifdef _PAX_

--- 48 unchanged lines hidden (view full) ---

91 char mode[8]; /* mode */
92 char uid[8]; /* uid */
93 char gid[8]; /* gid */
94 char size[12]; /* size */
95 char mtime[12]; /* modification time */
96 char chksum[CHK_LEN]; /* checksum */
97 char linkflag; /* norm, hard, or sym. */
98 char linkname[TNMSZ]; /* linked to name */
35 */
36
37/*
38 * defines and data structures common to all tar formats
39 */
40#define CHK_LEN 8 /* length of checksum field */
41#define TNMSZ 100 /* size of name field */
42#ifdef _PAX_

--- 48 unchanged lines hidden (view full) ---

91 char mode[8]; /* mode */
92 char uid[8]; /* uid */
93 char gid[8]; /* gid */
94 char size[12]; /* size */
95 char mtime[12]; /* modification time */
96 char chksum[CHK_LEN]; /* checksum */
97 char linkflag; /* norm, hard, or sym. */
98 char linkname[TNMSZ]; /* linked to name */
99} HD_TAR;
99} HD_TAR __aligned(1);
100
101#ifdef _PAX_
102/*
103 * -o options for BSD tar to not write directories to the archive
104 */
105#define TAR_NODIR "nodir"
106#define TAR_OPTION "write_opt"
107

--- 29 unchanged lines hidden (view full) ---

137 char linkname[TNMSZ]; /* linked to name */
138 char magic[TMAGLEN]; /* magic cookie */
139 char version[TVERSLEN]; /* version */
140 char uname[32]; /* ascii owner name */
141 char gname[32]; /* ascii group name */
142 char devmajor[8]; /* major device number */
143 char devminor[8]; /* minor device number */
144 char prefix[TPFSZ]; /* linked to name */
100
101#ifdef _PAX_
102/*
103 * -o options for BSD tar to not write directories to the archive
104 */
105#define TAR_NODIR "nodir"
106#define TAR_OPTION "write_opt"
107

--- 29 unchanged lines hidden (view full) ---

137 char linkname[TNMSZ]; /* linked to name */
138 char magic[TMAGLEN]; /* magic cookie */
139 char version[TVERSLEN]; /* version */
140 char uname[32]; /* ascii owner name */
141 char gname[32]; /* ascii group name */
142 char devmajor[8]; /* major device number */
143 char devminor[8]; /* minor device number */
144 char prefix[TPFSZ]; /* linked to name */
145} HD_USTAR;
145} HD_USTAR __aligned(1);