| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132 | 
							
- #------------------------------------------------------------------------------
 
- # $File: dump,v 1.11 2009/09/19 16:28:09 christos Exp $
 
- # dump:  file(1) magic for dump file format--for new and old dump filesystems
 
- #
 
- # We specify both byte orders in order to recognize byte-swapped dumps.
 
- #
 
- 24	belong	60012		new-fs dump file (big endian),
 
- >4	bedate	x		Previous dump %s,
 
- >8	bedate	x		This dump %s,
 
- >12	belong	>0		Volume %ld,
 
- >692	belong	0		Level zero, type:
 
- >692	belong	>0		Level %d, type:
 
- >0	belong	1		tape header,
 
- >0	belong	2		beginning of file record,
 
- >0	belong	3		map of inodes on tape,
 
- >0	belong	4		continuation of file record,
 
- >0	belong	5		end of volume,
 
- >0	belong	6		map of inodes deleted,
 
- >0	belong	7		end of medium (for floppy),
 
- >676	string	>\0		Label %s,
 
- >696	string	>\0		Filesystem %s,
 
- >760	string	>\0		Device %s,
 
- >824	string	>\0		Host %s,
 
- >888	belong	>0		Flags %x
 
- 24	belong	60011		old-fs dump file (big endian),
 
- #>4	bedate	x		Previous dump %s,
 
- #>8	bedate	x		This dump %s,
 
- >12	belong	>0		Volume %ld,
 
- >692	belong	0		Level zero, type:
 
- >692	belong	>0		Level %d, type:
 
- >0	belong	1		tape header,
 
- >0	belong	2		beginning of file record,
 
- >0	belong	3		map of inodes on tape,
 
- >0	belong	4		continuation of file record,
 
- >0	belong	5		end of volume,
 
- >0	belong	6		map of inodes deleted,
 
- >0	belong	7		end of medium (for floppy),
 
- >676	string	>\0		Label %s,
 
- >696	string	>\0		Filesystem %s,
 
- >760	string	>\0		Device %s,
 
- >824	string	>\0		Host %s,
 
- >888	belong	>0		Flags %x
 
- 24	lelong	60012		new-fs dump file (little endian),
 
- >4	ledate	x		This dump %s,
 
- >8	ledate	x		Previous dump %s,
 
- >12	lelong	>0		Volume %ld,
 
- >692	lelong	0		Level zero, type:
 
- >692	lelong	>0		Level %d, type:
 
- >0	lelong	1		tape header,
 
- >0	lelong	2		beginning of file record,
 
- >0	lelong	3		map of inodes on tape,
 
- >0	lelong	4		continuation of file record,
 
- >0	lelong	5		end of volume,
 
- >0	lelong	6		map of inodes deleted,
 
- >0	lelong	7		end of medium (for floppy),
 
- >676	string	>\0		Label %s,
 
- >696	string	>\0		Filesystem %s,
 
- >760	string	>\0		Device %s,
 
- >824	string	>\0		Host %s,
 
- >888	lelong	>0		Flags %x
 
- 24	lelong	60011		old-fs dump file (little endian),
 
- #>4	ledate	x		Previous dump %s,
 
- #>8	ledate	x		This dump %s,
 
- >12	lelong	>0		Volume %ld,
 
- >692	lelong	0		Level zero, type:
 
- >692	lelong	>0		Level %d, type:
 
- >0	lelong	1		tape header,
 
- >0	lelong	2		beginning of file record,
 
- >0	lelong	3		map of inodes on tape,
 
- >0	lelong	4		continuation of file record,
 
- >0	lelong	5		end of volume,
 
- >0	lelong	6		map of inodes deleted,
 
- >0	lelong	7		end of medium (for floppy),
 
- >676	string	>\0		Label %s,
 
- >696	string	>\0		Filesystem %s,
 
- >760	string	>\0		Device %s,
 
- >824	string	>\0		Host %s,
 
- >888	lelong	>0		Flags %x
 
- 18	leshort	60011		old-fs dump file (16-bit, assuming PDP-11 endianness),
 
- >2	medate	x		Previous dump %s,
 
- >6	medate	x		This dump %s,
 
- >10	leshort	>0		Volume %ld,
 
- >0	leshort	1		tape header.
 
- >0	leshort	2		beginning of file record.
 
- >0	leshort	3		map of inodes on tape.
 
- >0	leshort	4		continuation of file record.
 
- >0	leshort	5		end of volume.
 
- >0	leshort	6		map of inodes deleted.
 
- >0	leshort	7		end of medium (for floppy).
 
- 24	belong	0x19540119	new-fs dump file (ufs2, big endian),
 
- >896	beqdate	x		Previous dump %s,
 
- >904	beqdate	x		This dump %s,
 
- >12	belong	>0		Volume %ld,
 
- >692	belong	0		Level zero, type:
 
- >692	belong	>0		Level %d, type:
 
- >0	belong	1		tape header,
 
- >0	belong	2		beginning of file record,
 
- >0	belong	3		map of inodes on tape,
 
- >0	belong	4		continuation of file record,
 
- >0	belong	5		end of volume,
 
- >0	belong	6		map of inodes deleted,
 
- >0	belong	7		end of medium (for floppy),
 
- >676	string	>\0		Label %s,
 
- >696	string	>\0		Filesystem %s,
 
- >760	string	>\0		Device %s,
 
- >824	string	>\0		Host %s,
 
- >888	belong	>0		Flags %x
 
- 24	lelong	0x19540119	new-fs dump file (ufs2, little endian),
 
- >896	leqdate	x		This dump %s,
 
- >904	leqdate	x		Previous dump %s,
 
- >12	lelong	>0		Volume %ld,
 
- >692	lelong	0		Level zero, type:
 
- >692	lelong	>0		Level %d, type:
 
- >0	lelong	1		tape header,
 
- >0	lelong	2		beginning of file record,
 
- >0	lelong	3		map of inodes on tape,
 
- >0	lelong	4		continuation of file record,
 
- >0	lelong	5		end of volume,
 
- >0	lelong	6		map of inodes deleted,
 
- >0	lelong	7		end of medium (for floppy),
 
- >676	string	>\0		Label %s,
 
- >696	string	>\0		Filesystem %s,
 
- >760	string	>\0		Device %s,
 
- >824	string	>\0		Host %s,
 
- >888	lelong	>0		Flags %x
 
 
  |