bin/99693: [patch] add magic(5)/file(1) support for FreeBSD 6.1 dump(8) format

Antoine Brodin antoine at FreeBSD.org
Thu Feb 7 19:00:11 UTC 2008


The following reply was made to PR bin/99693; it has been noted by GNATS.

From: Antoine Brodin <antoine at FreeBSD.org>
To: bug-followup at FreeBSD.org
Cc:  
Subject: Re: bin/99693: [patch] add magic(5)/file(1) support for FreeBSD 6.1
 dump(8) format
Date: Thu, 7 Feb 2008 19:35:03 +0100

 This is a multi-part message in MIME format.
 
 --Multipart=_Thu__7_Feb_2008_19_35_03_+0100_YFrFONxarmx4+w7O
 Content-Type: text/plain; charset=US-ASCII
 Content-Transfer-Encoding: 7bit
 
 The attached patch has been submitted upstream.
 It handles 64bit dates correctly.
 
 --Multipart=_Thu__7_Feb_2008_19_35_03_+0100_YFrFONxarmx4+w7O
 Content-Type: text/x-diff;
  name="file-4.23-dump-ufs2.diff"
 Content-Disposition: attachment;
  filename="file-4.23-dump-ufs2.diff"
 Content-Transfer-Encoding: 7bit
 
 --- file-4.23/magic/Magdir/dump.orig	2008-02-06 19:58:22.000000000 +0100
 +++ file-4.23/magic/Magdir/dump	2008-02-06 20:38:00.000000000 +0100
 @@ -91,3 +91,41 @@
  >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	beqldate	x		Previous dump %s,
 +>904	beqldate	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	leqldate	x		This dump %s,
 +>904	leqldate	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
 
 
 --Multipart=_Thu__7_Feb_2008_19_35_03_+0100_YFrFONxarmx4+w7O--


More information about the freebsd-bugs mailing list