From: Reuben Thomas Date: Mon, 11 Feb 2008 02:14:23 +0000 (+0000) Subject: Fix an offset and some commented magic X-Git-Tag: FILE5_05~508 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0608ad9b55aa750195889f1b001dbd0c35a6bf70;p=file Fix an offset and some commented magic --- diff --git a/magic/Magdir/filesystems b/magic/Magdir/filesystems index da7d481f..4bc50c10 100644 --- a/magic/Magdir/filesystems +++ b/magic/Magdir/filesystems @@ -833,7 +833,7 @@ # Minix filesystems - Juan Cespedes 0x410 leshort 0x137f Minix filesystem -0x410 beshort 0x137f Minix filesystem (big endian), +0x410 beshort 0x137f Minix filesystem (big endian) >0x402 beshort !0 \b, %d zones >0x1e string minix \b, bootable 0x410 leshort 0x138f Minix filesystem, 30 char names diff --git a/magic/Magdir/msdos b/magic/Magdir/msdos index 9ea81b98..6544663d 100644 --- a/magic/Magdir/msdos +++ b/magic/Magdir/msdos @@ -658,20 +658,20 @@ # Using the existence of the Backing File Offset to Branch or not # to read Backing File Information ->>0xc belong >0 , Backing File( Offset: %d +>>0xc belong >0 , Backing File( Offset: %lu >>>(0xc.L) string >\0 , Path: %s -# Didnt got the Trick here how qemu stores the "Size" at this Position +# Didn't get the trick here how qemu stores the "Size" at this Position # There is actually something stored but nothing makes sense # The header in the sources talks about it -#>>>16 lelong x , Size: %d +#>>>16 lelong x , Size: %lu # Modification time of the Backing File -# Really usefull if you want to know if your backing +# Really useful if you want to know if your backing # file is still usable together with this image >>>20 bedate x , Mtime: %s ) -# Dont know how to calculate in Magicfiles +# Don't know how to calculate in Magicfiles # Also: this Information is not reliably # stored in image-files >>24 lelong x , Disk Size could be: %d * 256 bytes