From owner-freebsd-bugs@FreeBSD.ORG Thu Feb 7 19:00:11 2008 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3473C16A4D1 for ; Thu, 7 Feb 2008 19:00:11 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 4AE2C13C4E1 for ; Thu, 7 Feb 2008 19:00:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m17J03oH094311 for ; Thu, 7 Feb 2008 19:00:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m17J03c5094310; Thu, 7 Feb 2008 19:00:03 GMT (envelope-from gnats) Date: Thu, 7 Feb 2008 19:00:03 GMT Message-Id: <200802071900.m17J03c5094310@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Antoine Brodin Cc: Subject: Re: bin/99693: [patch] add magic(5)/file(1) support for FreeBSD 6.1 dump(8) format X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Antoine Brodin List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Feb 2008 19:00:11 -0000 The following reply was made to PR bin/99693; it has been noted by GNATS. From: Antoine Brodin To: bug-followup@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--