On Wed, Jan 21, 2004 at 11:20:09PM -0700, James Bucanek wrote: : : Victor Eijkhout wrote on Thursday, January 22, 2004: : : >>Why would you expect 'file' to know anything about Mac OS X specific : >>file formats? 'file' is a UNIX utility. : > : >I would at least expect it to report the same about all dmg files. : : But 'file' just makes a guess about a binary file based on "magic : numbers" it finds at the beginning of the file. Unless someone has : updated its database to include the "magic numbers" for dmg files, the : results are going to be, more or less, random. Or at the very least, : consitently confused with some other binary file format that appears : to be similar. Or the DMG file could be valid but corrupted. In any case, it's really beyond the ability of "file" to provide an absolute guarantee that a file is really what it seems to be. -- Eugene Lee http://www.coxar.pwp.blueyonder.co.uk/