⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 readme.hfs_magic

📁 创建一个符合iso-9660标准的iso文件系统
💻 HFS_MAGIC
字号:
Find file types by using a modified "magic" fileBased on file v3.22 by Ian F. Darwin (see libfile/LEGAL.NOTICE andlibfile/README.dist - File v3.22 can be found at many archive sites)For each entry in the magic file, the "message" for the initial offset MUSTbe 4 characters for the CREATOR and 4 characters for the TYPE - white space isoptional between them. Any other characters on this line are ignored.Continuation lines (starting with a '>') are also ignored i.e. only the initialoffset lines are used.e.g magic entry for a GIF file:# off	type		test		message## GIF image0       string          GIF8            8BIM GIFf>4      string          7a              \b, version 8%s,>4      string          9a              \b, version 8%s,>6      leshort         >0              %hd x>8      leshort         >0              %hd,#>10    byte            &0x80           color mapped,#>10    byte&0x07       =0x00           2 colors#>10    byte&0x07       =0x01           4 colors#>10    byte&0x07       =0x02           8 colors#>10    byte&0x07       =0x03           16 colors#>10    byte&0x07       =0x04           32 colors#>10    byte&0x07       =0x05           64 colors#>10    byte&0x07       =0x06           128 colors#>10    byte&0x07       =0x07           256 colorsJust the "8BIM" "GIFf" will be used whatever the type of GIF file it is.The continuation lines are used by the "file" command, but ignored bymkhybrid. They could be left out completely.The complete format of the magic file is given in the magic man page (magic.5).See the file "magic" for other examplesUse with the -magic magic_file option, where magic_file is a filedescribed above.The magic file can be used with the mapping file (option -map) - the orderthese options appear on the command line is important.  mkhybrid will try todetect if the file is one of the Unix/Mac files (e.g. a CAP or Netatalkfile) first. If that fails, it will then use the magic and/or mappingfile e.g:mkhybrid -o output.raw -map mapping -magic magic src_dirThe above will check filename extensions first, if that fails to set theCREATOR/TYPE, the magic file will be used. To check the magic filebefore the filename extensions, use:mkhybrid -o output.raw -magic magic -map mapping src_dirUsing just a magic file - filename extensions will not be checked e.g:mkhybrid -o output.raw -magic magic src_dirFor the magic method to work, each file must be opened and read twice(once to find it's CREATOR/TYPE, and a second time to actually copy thefile to the CD image). Therefore the -magic option may significantlyincrease processing time.If a file's CREATOR/TYPE is not set via the magic and mapping matches,then the file is given the default CREATOR/TYPE.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -