head	1.1;
access;
symbols
	rpm-4_4:1.1.0.2
	file-4_20:1.1;
locks; strict;
comment	@# @;


1.1
date	2007.05.09.19.38.34;	author jbj;	state Exp;
branches
	1.1.2.1;
next	;

1.1.2.1
date	2007.05.09.19.38.34;	author jbj;	state dead;
branches;
next	1.1.2.2;

1.1.2.2
date	2007.05.10.17.39.23;	author jbj;	state Exp;
branches;
next	;


desc
@@


1.1
log
@Virgin file-4.20.
@
text
@#------------------------------------------------------------------------------
# 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.
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.2.1
log
@file os400 was added on branch rpm-4_4 on 2007-05-10 17:39:23 +0000
@
text
@d1 32
@


1.1.2.2
log
@Upgrade to file-4.20 internal.
@
text
@a0 32
#------------------------------------------------------------------------------
# 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.
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
@


