[patch] fix detecting of jffs2 and u-boot images
Mike Frysinger
vapier at gentoo.org
Sun Jul 30 20:12:36 EEST 2006
jffs2 uses just 0x1985 as the magic number ... i dont know why file currently
tries to also match 0xe001 or what that's for, but the latest mkfs.jffs2
binary uses 0x2003 (or something, i forget exactly) ... the kernel itself
doesnt care, so i dont think file should care either :)
the PPCBoot project is dead now as it has merged with ARMBoot and formed the
basis of u-boot ... so ive updated the output to say "u-boot image" instead
of "PPCBoot image"
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: not available
Url : http://mx.gw.com/pipermail/file/attachments/20060730/b854bb4f/attachment.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: file-uboot-jffs2.patch
Type: text/x-diff
Size: 807 bytes
Desc: not available
Url : http://mx.gw.com/pipermail/file/attachments/20060730/b854bb4f/attachment-0001.bin
More information about the File
mailing list