Does anyone know a list with magic numbers of file systems and archive/compression formats?

时光总嘲笑我的痴心妄想 提交于 2019-12-08 02:14:54

问题


I'm looking for a list that has the magic numbers of the most important of the following file systems and archive/compression formats:

  • http://en.wikipedia.org/wiki/List_of_file_systems
  • http://en.wikipedia.org/wiki/List_of_archive_formats

For example something like:

-filesystem- -magic_number-
-cramfs- -45 3d cd 28 00-
-archive/compression- -magic_number-
-gz- -1f 8b-

I found some on google but no complete list or technical docs, so I ask you guys as experts.


回答1:


You could try this list: File Signature Table

Another list, which is a bit harder to understand: Linux Magic Numbers




回答2:


There's a list for all filesystems Linux supports in /include/uapi/linux/magic.h

Related question over at Unix & Linux SE



来源:https://stackoverflow.com/questions/7162475/does-anyone-know-a-list-with-magic-numbers-of-file-systems-and-archive-compressi

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!