Hi,
Is there an Inbox to upload patches to VMMaker for review?
I generated a small fix to ImageFormat to generate magic pattern checks at offset 512 also. I think some old Etoys images use this offset with a launch script stuffed in the first 512 bytes. Is this deprecated now?
I also feel 'unix' should be dropped from the method's name. file(1) utility originated in Unix but is related to file contents and not to kernel. It should be available for Mac/Win too.
I have also attached the resulting magic file and a workspace script to generate a bunch of test header files to test the magic file. e.g.
$ file -m magic *.image
Regards .. Subbu