head	1.2;
access;
symbols
	RELENG_8_4:1.2.0.2
	RELENG_9_1_0_RELEASE:1.1.1.2.24.1
	RELENG_9_1:1.1.1.2.24.1.0.2
	RELENG_9_1_BP:1.1.1.2.24.1
	RELENG_8_3_0_RELEASE:1.1.1.2
	RELENG_8_3:1.1.1.2.0.28
	RELENG_8_3_BP:1.1.1.2
	RELENG_9_0_0_RELEASE:1.1.1.2
	RELENG_9_0:1.1.1.2.0.26
	RELENG_9_0_BP:1.1.1.2
	RELENG_9:1.1.1.2.0.24
	RELENG_9_BP:1.1.1.2
	RELENG_7_4_0_RELEASE:1.1.1.2
	RELENG_8_2_0_RELEASE:1.1.1.2
	RELENG_7_4:1.1.1.2.0.22
	RELENG_7_4_BP:1.1.1.2
	RELENG_8_2:1.1.1.2.0.20
	RELENG_8_2_BP:1.1.1.2
	RELENG_8_1_0_RELEASE:1.1.1.2
	RELENG_8_1:1.1.1.2.0.18
	RELENG_8_1_BP:1.1.1.2
	RELENG_7_3_0_RELEASE:1.1.1.2
	RELENG_7_3:1.1.1.2.0.16
	RELENG_7_3_BP:1.1.1.2
	RELENG_8_0_0_RELEASE:1.1.1.2
	RELENG_8_0:1.1.1.2.0.14
	RELENG_8_0_BP:1.1.1.2
	RELENG_8:1.1.1.2.0.12
	RELENG_8_BP:1.1.1.2
	RELENG_7_2_0_RELEASE:1.1.1.2
	RELENG_7_2:1.1.1.2.0.10
	RELENG_7_2_BP:1.1.1.2
	RELENG_7_1_0_RELEASE:1.1.1.2
	RELENG_6_4_0_RELEASE:1.1.1.2.6.1
	RELENG_7_1:1.1.1.2.0.8
	RELENG_7_1_BP:1.1.1.2
	RELENG_6_4:1.1.1.2.6.1.0.2
	RELENG_6_4_BP:1.1.1.2.6.1
	RELENG_7_0_0_RELEASE:1.1.1.2
	file_4_23__r1_46:1.1.1.2
	RELENG_6:1.1.1.2.0.6
	file_4_23:1.1.1.2
	RELENG_7_0:1.1.1.2.0.4
	RELENG_7_0_BP:1.1.1.2
	RELENG_7:1.1.1.2.0.2
	RELENG_7_BP:1.1.1.2
	file_4_21:1.1.1.2
	file_4_19:1.1.1.1
	ZOULAS:1.1.1;
locks; strict;
comment	@# @;


1.2
date	2012.04.19.03.20.13;	author obrien;	state Exp;
branches
	1.2.2.1;
next	1.1;

1.1
date	2007.05.24.16.12.23;	author obrien;	state Exp;
branches
	1.1.1.1;
next	;

1.2.2.1
date	2012.04.19.03.20.13;	author svnexp;	state dead;
branches;
next	1.2.2.2;

1.2.2.2
date	2013.03.28.13.00.45;	author svnexp;	state Exp;
branches;
next	;

1.1.1.1
date	2007.05.24.16.12.23;	author obrien;	state Exp;
branches;
next	1.1.1.2;

1.1.1.2
date	2007.05.24.21.59.38;	author obrien;	state Exp;
branches
	1.1.1.2.6.1
	1.1.1.2.24.1;
next	;

1.1.1.2.6.1
date	2008.01.24.15.47.31;	author rafan;	state Exp;
branches;
next	;

1.1.1.2.24.1
date	2012.07.02.08.48.58;	author obrien;	state Exp;
branches;
next	;


desc
@@


1.2
log
@SVN rev 234449 on 2012-04-19 03:20:13Z by obrien

Update file(1) to version 5.11.
@
text
@
#------------------------------------------------------------------------------
# $File: os400,v 1.5 2009/09/19 16:28:11 christos Exp $
# os400:  file(1) magic for IBM OS/400 files
#
# IBM OS/400 (i5/OS) Save file (SAVF) - gerardo.cacciari@@gmail.com
# In spite of its quite variable format (due to internal memory page
# length differences between CISC and RISC versions of the OS) the
# SAVF structure hasn't suitable offsets to identify the catalog
# header in the first descriptor where there are some useful infos,
# so we must search in a somewhat large area for a particular string
# that represents the EBCDIC encoding of 'QSRDSSPC' (save/restore
# descriptor space) preceded by a two byte constant.
#
1090	 search/7393	\x19\xDB\xD8\xE2\xD9\xC4\xE2\xE2\xD7\xC3 IBM OS/400 save file data
>&212	 byte		0x01			 \b, created with SAVOBJ
>&212	 byte		0x02			 \b, created with SAVLIB
>&212	 byte		0x07			 \b, created with SAVCFG
>&212	 byte		0x08			 \b, created with SAVSECDTA
>&212	 byte		0x0A			 \b, created with SAVSECDTA
>&212	 byte		0x0B			 \b, created with SAVDLO
>&212	 byte		0x0D			 \b, created with SAVLICPGM
>&212	 byte		0x11			 \b, created with SAVCHGOBJ
>&213	 byte		0x44			 \b, at least V5R4 to open
>&213	 byte		0x43			 \b, at least V5R3 to open
>&213	 byte		0x42			 \b, at least V5R2 to open
>&213	 byte		0x41			 \b, at least V5R1 to open
>&213	 byte		0x40			 \b, at least V4R5 to open
>&213	 byte		0x3F			 \b, at least V4R4 to open
>&213	 byte		0x3E			 \b, at least V4R3 to open
>&213	 byte		0x3C			 \b, at least V4R2 to open
>&213	 byte		0x3D			 \b, at least V4R1M4 to open
>&213	 byte		0x3B			 \b, at least V4R1 to open
>&213	 byte		0x3A			 \b, at least V3R7 to open
>&213	 byte		0x35			 \b, at least V3R6 to open
>&213	 byte		0x36			 \b, at least V3R2 to open
>&213	 byte		0x34			 \b, at least V3R1 to open
>&213	 byte		0x31			 \b, at least V3R0M5 to open
>&213	 byte		0x30			 \b, at least V2R3 to open
@


1.2.2.1
log
@file os400 was added on branch RELENG_8_4 on 2013-03-28 13:00:45 +0000
@
text
@d1 39
@


1.2.2.2
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/248810
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@a0 37
#------------------------------------------------------------------------------
# os400:  file(1) magic for IBM OS/400 files
#
# IBM OS/400 (i5/OS) Save file (SAVF) - gerardo.cacciari@@gmail.com
# In spite of its quite variable format (due to internal memory page
# length differences between CISC and RISC versions of the OS) the
# SAVF structure hasn't suitable offsets to identify the catalog
# header in the first descriptor where there are some useful infos,
# so we must search in a somewhat large area for a particular string
# that represents the EBCDIC encoding of 'QSRDSSPC' (save/restore
# descriptor space) preceded by a two byte constant.
#
1090	 search/7393	\x19\xDB\xD8\xE2\xD9\xC4\xE2\xE2\xD7\xC3 IBM OS/400 save file data
>&212	 byte		0x01			 \b, created with SAVOBJ
>&212	 byte		0x02			 \b, created with SAVLIB
>&212	 byte		0x07			 \b, created with SAVCFG
>&212	 byte		0x08			 \b, created with SAVSECDTA
>&212	 byte		0x0A			 \b, created with SAVSECDTA
>&212	 byte		0x0B			 \b, created with SAVDLO
>&212	 byte		0x0D			 \b, created with SAVLICPGM
>&212	 byte		0x11			 \b, created with SAVCHGOBJ
>&213	 byte		0x44			 \b, at least V5R4 to open
>&213	 byte		0x43			 \b, at least V5R3 to open
>&213	 byte		0x42			 \b, at least V5R2 to open
>&213	 byte		0x41			 \b, at least V5R1 to open
>&213	 byte		0x40			 \b, at least V4R5 to open
>&213	 byte		0x3F			 \b, at least V4R4 to open
>&213	 byte		0x3E			 \b, at least V4R3 to open
>&213	 byte		0x3C			 \b, at least V4R2 to open
>&213	 byte		0x3D			 \b, at least V4R1M4 to open
>&213	 byte		0x3B			 \b, at least V4R1 to open
>&213	 byte		0x3A			 \b, at least V3R7 to open
>&213	 byte		0x35			 \b, at least V3R6 to open
>&213	 byte		0x36			 \b, at least V3R2 to open
>&213	 byte		0x34			 \b, at least V3R1 to open
>&213	 byte		0x31			 \b, at least V3R0M5 to open
>&213	 byte		0x30			 \b, at least V2R3 to open
@


1.1
log
@Initial revision
@
text
@d1 1
d3 1
d5 1
a5 1

d14 26
a39 21
40	 string		@@@@@@@@@@@@@@@@
>1089	 search/7394	\x19\xDB\xD8\xE2\xD9\xC4\xE2\xE2\xD7\xC3 IBM OS/400 save file data
>>&212	 byte		0x01			 \b, created with SAVOBJ
>>&212	 byte		0x02			 \b, created with SAVLIB
>>&212	 byte		0x07			 \b, created with SAVCFG
>>&212	 byte		0x0B			 \b, created with SAVDLO
>>&213	 byte		0x43			 \b, at least V5R3 to open
>>&213	 byte		0x42			 \b, at least V5R2 to open
>>&213	 byte		0x41			 \b, at least V5R1 to open
>>&213	 byte		0x40			 \b, at least V4R5 to open
>>&213	 byte		0x3F			 \b, at least V4R4 to open
>>&213	 byte		0x3E			 \b, at least V4R3 to open
>>&213	 byte		0x3C			 \b, at least V4R2 to open
>>&213	 byte		0x3D			 \b, at least V4R1M4 to open
>>&213	 byte		0x3B			 \b, at least V4R1 to open
>>&213	 byte		0x3A			 \b, at least V3R7 to open
>>&213	 byte		0x35			 \b, at least V3R6 to open
>>&213	 byte		0x36			 \b, at least V3R2 to open
>>&213	 byte		0x34			 \b, at least V3R1 to open
>>&213	 byte		0x31			 \b, at least V3R0M5 to open
>>&213	 byte		0x30			 \b, at least V2R3 to open
@


1.1.1.1
log
@Virgin import of Christos Zoulas's FILE 4.19.
@
text
@@


1.1.1.2
log
@Virgin import of Christos Zoulas's FILE 4.21.
@
text
@d3 1
a3 1
#
d12 21
a32 26
#
1090	 search/7393	\x19\xDB\xD8\xE2\xD9\xC4\xE2\xE2\xD7\xC3 IBM OS/400 save file data
>&212	 byte		0x01			 \b, created with SAVOBJ
>&212	 byte		0x02			 \b, created with SAVLIB
>&212	 byte		0x07			 \b, created with SAVCFG
>&212	 byte		0x08			 \b, created with SAVSECDTA
>&212	 byte		0x0A			 \b, created with SAVSECDTA
>&212	 byte		0x0B			 \b, created with SAVDLO
>&212	 byte		0x0D			 \b, created with SAVLICPGM
>&212	 byte		0x11			 \b, created with SAVCHGOBJ
>&213	 byte		0x44			 \b, at least V5R4 to open
>&213	 byte		0x43			 \b, at least V5R3 to open
>&213	 byte		0x42			 \b, at least V5R2 to open
>&213	 byte		0x41			 \b, at least V5R1 to open
>&213	 byte		0x40			 \b, at least V4R5 to open
>&213	 byte		0x3F			 \b, at least V4R4 to open
>&213	 byte		0x3E			 \b, at least V4R3 to open
>&213	 byte		0x3C			 \b, at least V4R2 to open
>&213	 byte		0x3D			 \b, at least V4R1M4 to open
>&213	 byte		0x3B			 \b, at least V4R1 to open
>&213	 byte		0x3A			 \b, at least V3R7 to open
>&213	 byte		0x35			 \b, at least V3R6 to open
>&213	 byte		0x36			 \b, at least V3R2 to open
>&213	 byte		0x34			 \b, at least V3R1 to open
>&213	 byte		0x31			 \b, at least V3R0M5 to open
>&213	 byte		0x30			 \b, at least V2R3 to open
@


1.1.1.2.24.1
log
@SVN rev 237983 on 2012-07-02 08:48:58Z by obrien

MFC: r234449: update file(1) to version 5.11.
@
text
@a0 1

a1 1
# $File: os400,v 1.5 2009/09/19 16:28:11 christos Exp $
@


1.1.1.2.6.1
log
@MFC file 4.21
@
text
@@


