disktype

    
The purpose of disktype is to detect the content format of a disk or disk image. It knows about common file systems, partition tables, and boot codes.
http://disktype.sourceforge.net/ http://disktype.sourceforge.net/doc/