filesystems 49 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329
  1. #------------------------------------------------------------------------------
  2. # filesystems: file(1) magic for different filesystems
  3. #
  4. 0 string \366\366\366\366 PC formatted floppy with no filesystem
  5. # Sun disk labels
  6. # From /usr/include/sun/dklabel.h:
  7. 0774 beshort 0xdabe
  8. # modified by Joerg Jenderek, because original test
  9. # succeeds for Cabinet archive dao360.dl_ with negative blocks
  10. >0770 long >0 Sun disk label
  11. >>0 string x '%s
  12. >>>31 string >\0 \b%s
  13. >>>>63 string >\0 \b%s
  14. >>>>>95 string >\0 \b%s
  15. >>0 string x \b'
  16. >>0734 short >0 %d rpm,
  17. >>0736 short >0 %d phys cys,
  18. >>0740 short >0 %d alts/cyl,
  19. >>0746 short >0 %d interleave,
  20. >>0750 short >0 %d data cyls,
  21. >>0752 short >0 %d alt cyls,
  22. >>0754 short >0 %d heads/partition,
  23. >>0756 short >0 %d sectors/track,
  24. >>0764 long >0 start cyl %ld,
  25. >>0770 long x %ld blocks
  26. # Is there a boot block written 1 sector in?
  27. >512 belong&077777777 0600407 \b, boot block present
  28. # Joerg Jenderek: Smart Boot Manager backup file is 41 byte header + first sectors of disc
  29. # (http://btmgr.sourceforge.net/docs/user-guide-3.html)
  30. 0 string SBMBAKUP_ Smart Boot Manager backup file
  31. >9 string x \b, version %-5.5s
  32. >>14 string =_
  33. >>>15 string x %-.1s
  34. >>>>16 string =_ \b.
  35. >>>>>17 string x \b%-.1s
  36. >>>>>>18 string =_ \b.
  37. >>>>>>>19 string x \b%-.1s
  38. >>>22 ubyte 0
  39. >>>>21 ubyte x \b, from drive 0x%x
  40. >>>22 ubyte >0
  41. >>>>21 string x \b, from drive %s
  42. # Joerg Jenderek
  43. # DOS Emulator image is 128 byte, null right padded header + harddisc image
  44. 0 string DOSEMU\0
  45. >0x27E leshort 0xAA55
  46. #offset is 128
  47. >>19 ubyte 128
  48. >>>(19.b-1) ubyte 0x0 DOS Emulator image
  49. >>>>7 ulelong >0 \b, %u heads
  50. >>>>11 ulelong >0 \b, %d sectors/track
  51. >>>>15 ulelong >0 \b, %d cylinders
  52. # updated by Joerg Jenderek at Sep 2007
  53. # only for sector sizes with 512 or more Bytes
  54. 0x1FE leshort 0xAA55 x86 boot sector
  55. # to do also for sectors < than 512 Bytes and some other files, GRR
  56. #30 search/481 \x55\xAA x86 boot sector
  57. # not for BeOS floppy 1440k, MBRs
  58. #(11.s-2) uleshort 0xAA55 x86 boot sector
  59. >2 string OSBS \b, OS/BS MBR
  60. # J\xf6rg Jenderek <joerg dot jenderek at web dot de>
  61. >0x8C string Invalid\ partition\ table \b, MS-DOS MBR
  62. # dr-dos with some upper-, lowercase variants
  63. >0x9D string Invalid\ partition\ table$
  64. >>181 string No\ Operating\ System$
  65. >>>201 string Operating\ System\ load\ error$ \b, DR-DOS MBR, Version 7.01 to 7.03
  66. >0x9D string Invalid\ partition\ table$
  67. >>181 string No\ operating\ system$
  68. >>>201 string Operating\ system\ load\ error$ \b, DR-DOS MBR, Version 7.01 to 7.03
  69. >342 string Invalid\ partition\ table$
  70. >>366 string No\ operating\ system$
  71. >>>386 string Operating\ system\ load\ error$ \b, DR-DOS MBR, version 7.01 to 7.03
  72. >295 string NEWLDR\0
  73. >>302 string Bad\ PT\ $
  74. >>>310 string No\ OS\ $
  75. >>>>317 string OS\ load\ err$
  76. >>>>>329 string Moved\ or\ missing\ IBMBIO.LDR\n\r
  77. >>>>>>358 string Press\ any\ key\ to\ continue.\n\r$
  78. >>>>>>>387 string Copyright\ (c)\ 1984,1998
  79. >>>>>>>>411 string Caldera\ Inc.\0 \b, DR-DOS MBR (IBMBIO.LDR)
  80. >0x10F string Ung\201ltige\ Partitionstabelle \b, MS-DOS MBR, german version 4.10.1998, 4.10.2222
  81. >>0x1B8 ubelong >0 \b, Serial 0x%-.4x
  82. >0x8B string Ung\201ltige\ Partitionstabelle \b, MS-DOS MBR, german version 5.00 to 4.00.950
  83. >271 string Invalid\ partition\ table\0
  84. >>295 string Error\ loading\ operating\ system\0
  85. >>>326 string Missing\ operating\ system\0 \b, mbr
  86. #
  87. >139 string Invalid\ partition\ table\0
  88. >>163 string Error\ loading\ operating\ system\0
  89. >>>194 string Missing\ operating\ system\0 \b, Microsoft Windows XP mbr
  90. # http://www.heise.de/ct/05/09/006/ page 184
  91. #HKEY_LOCAL_MACHINE\SYSTEM\MountedDevices\DosDevices\?:=Serial4Bytes+8Bytes
  92. >>>>0x1B8 ulelong >0 \b,Serial 0x%-.4x
  93. >300 string Invalid\ partition\ table\0
  94. >>324 string Error\ loading\ operating\ system\0
  95. >>>355 string Missing\ operating\ system\0 \b, Microsoft Windows XP MBR
  96. #??>>>389 string Invalid\ system\ disk
  97. >>>>0x1B8 ulelong >0 \b, Serial 0x%-.4x
  98. >300 string Ung\201ltige\ Partitionstabelle
  99. #split string to avoid error: String too long
  100. >>328 string Fehler\ beim\ Laden\
  101. >>>346 string des\ Betriebssystems
  102. >>>>366 string Betriebssystem\ nicht\ vorhanden \b, Microsoft Windows XP MBR (german)
  103. >>>>>0x1B8 ulelong >0 \b, Serial 0x%-.4x
  104. >0x145 string Default:\ F \b, FREE-DOS MBR
  105. >64 string no\ active\ partition\ found
  106. >>96 string read\ error\ while\ reading\ drive \b, FREE-DOS Beta 0.9 MBR
  107. >271 string Operating\ system\ loading
  108. >>296 string error\r \b, SYSLINUX MBR (2.10)
  109. # http://www.acronis.de/
  110. >362 string MBR\ Error\ \0\r
  111. >>376 string ress\ any\ key\ to\
  112. >>>392 string boot\ from\ floppy...\0 \b, Acronis MBR
  113. # added by Joerg Jenderek
  114. # http://www.visopsys.org/
  115. # http://partitionlogic.org.uk/
  116. >309 string No\ bootable\ partition\ found\r
  117. >>339 string I/O\ Error\ reading\ boot\ sector\r \b, Visopsys MBR
  118. >349 string No\ bootable\ partition\ found\r
  119. >>379 string I/O\ Error\ reading\ boot\ sector\r \b, simple Visopsys MBR
  120. # bootloader, bootmanager
  121. >0x40 string SBML
  122. # label with 11 characters of FAT 12 bit filesystem
  123. >>43 string SMART\ BTMGR
  124. >>>430 string SBMK\ Bad!\r
  125. >>>>3 string SBM \b, Smart Boot Manager
  126. >>>>>6 string >\0 \b, version %s
  127. >382 string XOSLLOADXCF \b, eXtended Operating System Loader
  128. >6 string LILO \b, LInux i386 boot LOader
  129. >>120 string LILO \b, version 22.3.4 SuSe
  130. >>172 string LILO \b, version 22.5.8 Debian
  131. # updated by Joerg Jenderek
  132. # variables according to grub-0.97/stage1/stage1.S or
  133. # http://www.gnu.org/software/grub/manual/grub.html#Embedded-data
  134. # usual values are marked with comments to get only informations of strange GRUB loaders
  135. >0 ulelong 0x009048EB
  136. >>0x41 ubyte <2
  137. >>>0x3E ubyte >2 \b; GRand Unified Bootloader
  138. # 0x3 for 0.5.95,0.93,0.94,0.96 0x4 for 1.90
  139. >>>>0x3E ubyte x \b, stage1 version 0x%x
  140. #If it is 0xFF, use a drive passed by BIOS
  141. >>>>0x40 ubyte <0xFF \b, boot drive 0x%x
  142. # in most case 0,1,0x2e for GRUB 0.5.95
  143. >>>>0x41 ubyte >0 \b, LBA flag 0x%x
  144. >>>>0x42 uleshort <0x8000 \b, stage2 address 0x%x
  145. #>>>>0x42 uleshort =0x8000 \b, stage2 address 0x%x (usual)
  146. >>>>0x42 uleshort >0x8000 \b, stage2 address 0x%x
  147. #>>>>0x44 ulelong =1 \b, 1st sector stage2 0x%x (default)
  148. >>>>0x44 ulelong >1 \b, 1st sector stage2 0x%x
  149. >>>>0x48 uleshort <0x800 \b, stage2 segment 0x%x
  150. #>>>>0x48 uleshort =0x800 \b, stage2 segment 0x%x (usual)
  151. >>>>0x48 uleshort >0x800 \b, stage2 segment 0x%x
  152. >>>>402 string Geom\0Hard\ Disk\0Read\0\ Error\0
  153. >>>>>394 string stage1 \b, GRUB version 0.5.95
  154. >>>>382 string Geom\0Hard\ Disk\0Read\0\ Error\0
  155. >>>>>376 string GRUB\ \0 \b, GRUB version 0.93 or 1.94
  156. >>>>383 string Geom\0Hard\ Disk\0Read\0\ Error\0
  157. >>>>>377 string GRUB\ \0 \b, GRUB version 0.94
  158. >>>>385 string Geom\0Hard\ Disk\0Read\0\ Error\0
  159. >>>>>379 string GRUB\ \0 \b, GRUB version 0.95 or 0.96
  160. >>>>391 string Geom\0Hard\ Disk\0Read\0\ Error\0
  161. >>>>>385 string GRUB\ \0 \b, GRUB version 0.97
  162. #unkown version
  163. >>>343 string Geom\0Read\0\ Error\0
  164. >>>>321 string Loading\ stage1.5 \b, GRUB version x.y
  165. >>>380 string Geom\0Hard\ Disk\0Read\0\ Error\0
  166. >>>>374 string GRUB\ \0 \b, GRUB version n.m
  167. # http://syslinux.zytor.com/
  168. >478 string Boot\ failed\r
  169. >>495 string LDLINUX\ SYS \b, SYSLINUX bootloader (1.62)
  170. >480 string Boot\ failed\r
  171. >>495 string LDLINUX\ SYS \b, SYSLINUX bootloader (2.06 or 2.11)
  172. >484 string Boot\ error\r \b, SYSLINUX bootloader (3.11)
  173. >395 string chksum\0\ ERROR!\0 \b, Gujin bootloader
  174. # http://www.bcdwb.de/bcdw/index_e.htm
  175. >3 string BCDL
  176. >>498 string BCDL\ \ \ \ BIN \b, Bootable CD Loader (1.50Z)
  177. # mbr partion table entries
  178. # OEM-ID not Microsoft,SYSLINUX,or MTOOLs
  179. >3 string !MS
  180. >>3 string !SYSLINUX
  181. >>>3 string !MTOOL
  182. # not FAT (32 bit)
  183. >>>>82 string !FAT32
  184. #not IO.SYS
  185. >>>>>472 string !IO\ \ \ \ \ \ SYS
  186. >>>>>>480 string !IO\ \ \ \ \ \ SYS
  187. #not Linux kernel
  188. >>>>>>>514 string !HdrS
  189. #not BeOS
  190. >>>>>>>>422 string !Be\ Boot\ Loader
  191. # active flag 0 or 0x80 and type > 0
  192. >>>>>>>>>446 ubyte <0x81
  193. >>>>>>>>>>446 ubyte&0x7F 0
  194. >>>>>>>>>>>450 ubyte >0 \b; partition 1: ID=0x%x
  195. >>>>>>>>>>>>446 ubyte 0x80 \b, active
  196. >>>>>>>>>>>>447 ubyte x \b, starthead %u
  197. #>>>>>>>>>>>>448 ubyte x \b, start C_S: 0x%x
  198. #>>>>>>>>>>>>448 ubeshort&1023 x \b, startcylinder? %d
  199. >>>>>>>>>>>>454 ulelong x \b, startsector %u
  200. >>>>>>>>>>>>458 ulelong x \b, %u sectors
  201. #
  202. >>>>>>>>>462 ubyte <0x81
  203. >>>>>>>>>>462 ubyte&0x7F 0
  204. >>>>>>>>>>>466 ubyte >0 \b; partition 2: ID=0x%x
  205. >>>>>>>>>>>>462 ubyte 0x80 \b, active
  206. >>>>>>>>>>>>463 ubyte x \b, starthead %u
  207. #>>>>>>>>>>>>464 ubyte x \b, start C_S: 0x%x
  208. #>>>>>>>>>>>>464 ubeshort&1023 x \b, startcylinder? %d
  209. >>>>>>>>>>>>470 ulelong x \b, startsector %u
  210. >>>>>>>>>>>>474 ulelong x \b, %u sectors
  211. #
  212. >>>>>>>>>478 ubyte <0x81
  213. >>>>>>>>>>478 ubyte&0x7F 0
  214. >>>>>>>>>>>482 ubyte >0 \b; partition 3: ID=0x%x
  215. >>>>>>>>>>>>478 ubyte 0x80 \b, active
  216. >>>>>>>>>>>>479 ubyte x \b, starthead %u
  217. #>>>>>>>>>>>>480 ubyte x \b, start C_S: 0x%x
  218. #>>>>>>>>>>>>481 ubyte x \b, start C2S: 0x%x
  219. #>>>>>>>>>>>>480 ubeshort&1023 x \b, startcylinder? %d
  220. >>>>>>>>>>>>486 ulelong x \b, startsector %u
  221. >>>>>>>>>>>>490 ulelong x \b, %u sectors
  222. #
  223. >>>>>>>>>494 ubyte <0x81
  224. >>>>>>>>>>494 ubyte&0x7F 0
  225. >>>>>>>>>>>498 ubyte >0 \b; partition 4: ID=0x%x
  226. >>>>>>>>>>>>494 ubyte 0x80 \b, active
  227. >>>>>>>>>>>>495 ubyte x \b, starthead %u
  228. #>>>>>>>>>>>>496 ubyte x \b, start C_S: 0x%x
  229. #>>>>>>>>>>>>496 ubeshort&1023 x \b, startcylinder? %d
  230. >>>>>>>>>>>>502 ulelong x \b, startsector %u
  231. >>>>>>>>>>>>506 ulelong x \b, %u sectors
  232. # mbr partion table entries end
  233. # http://www.acronis.de/
  234. #FAT label=ACRONIS\ SZ
  235. #OEM-ID=BOOTWIZ0
  236. >442 string Non-system\ disk,\
  237. >>459 string press\ any\ key...\x7\0 \b, Acronis Startup Recovery Loader
  238. # DOS names like F11.SYS are 8 right space padded bytes+3 bytes
  239. >>>477 ubyte&0xDF >0
  240. >>>>477 string x \b %-.3s
  241. >>>>>480 ubyte&0xDF >0
  242. >>>>>>480 string x \b%-.5s
  243. >>>>485 ubyte&0xDF >0
  244. >>>>>485 string x \b.%-.3s
  245. #
  246. >185 string FDBOOT\ Version\
  247. >>204 string \rNo\ Systemdisk.\
  248. >>>220 string Booting\ from\ harddisk.\n\r
  249. >>>245 string Cannot\ load\ from\ harddisk.\n\r
  250. >>>>273 string Insert\ Systemdisk\
  251. >>>>>291 string and\ press\ any\ key.\n\r \b, FDBOOT harddisk Bootloader
  252. >>>>>>200 string >\0 \b, version %-3s
  253. >242 string Bootsector\ from\ C.H.\ Hochst\204
  254. >>278 string No\ Systemdisk.\
  255. >>>293 string Booting\ from\ harddisk.\n\r
  256. >>>441 string Cannot\ load\ from\ harddisk.\n\r
  257. >>>>469 string Insert\ Systemdisk\
  258. >>>>>487 string and\ press\ any\ key.\n\r \b, WinImage harddisk Bootloader
  259. >>>>>>209 string >\0 \b, version %-4.4s
  260. >(1.b+2) ubyte 0xe
  261. >>(1.b+3) ubyte 0x1f
  262. >>>(1.b+4) ubyte 0xbe
  263. >>>>(1.b+5) ubyte 0x77
  264. >>>>(1.b+6) ubyte 0x7c
  265. >>>>>(1.b+7) ubyte 0xac
  266. >>>>>>(1.b+8) ubyte 0x22
  267. >>>>>>>(1.b+9) ubyte 0xc0
  268. >>>>>>>>(1.b+10) ubyte 0x74
  269. >>>>>>>>>(1.b+11) ubyte 0xb
  270. >>>>>>>>>>(1.b+12) ubyte 0x56
  271. >>>>>>>>>>(1.b+13) ubyte 0xb4 \b, mkdosfs boot message display
  272. >103 string This\ is\ not\ a\ bootable\ disk.\
  273. >>132 string Please\ insert\ a\ bootable\
  274. >>>157 string floppy\ and\r\n
  275. >>>>169 string press\ any\ key\ to\ try\ again...\r \b, FREE-DOS message display
  276. #
  277. >66 string Solaris\ Boot\ Sector
  278. >>99 string Incomplete\ MDBoot\ load.
  279. >>>89 string Version \b, Sun Solaris Bootloader
  280. >>>>97 byte x version %c
  281. #
  282. >408 string OS/2\ !!\ SYS01475\r\0
  283. >>429 string OS/2\ !!\ SYS02025\r\0
  284. >>>450 string OS/2\ !!\ SYS02027\r\0
  285. >>>469 string OS2BOOT\ \ \ \ \b, IBM OS/2 Warp bootloader
  286. #
  287. >409 string OS/2\ !!\ SYS01475\r\0
  288. >>430 string OS/2\ !!\ SYS02025\r\0
  289. >>>451 string OS/2\ !!\ SYS02027\r\0
  290. >>>470 string OS2BOOT\ \ \ \ \b, IBM OS/2 Warp Bootloader
  291. >112 string This\ disk\ is\ not\ bootable\r
  292. >>142 string If\ you\ wish\ to\ make\ it\ bootable
  293. >>>176 string run\ the\ DOS\ program\ SYS\
  294. >>>200 string after\ the\r
  295. >>>>216 string system\ has\ been\ loaded\r\n
  296. >>>>>242 string Please\ insert\ a\ DOS\ diskette\
  297. >>>>>271 string into\r\n\ the\ drive\ and\
  298. >>>>>>292 string strike\ any\ key...\0 \b, IBM OS/2 Warp message display
  299. # XP
  300. >430 string NTLDR\ is\ missing\xFF\r\n
  301. >>449 string Disk\ error\xFF\r\n
  302. >>>462 string Press\ any\ key\ to\ restart\r \b, Microsoft Windows XP Bootloader
  303. # DOS names like NTLDR,CMLDR,$LDR$ are 8 right space padded bytes+3 bytes
  304. >>>>417 ubyte&0xDF >0
  305. >>>>>417 string x %-.5s
  306. >>>>>>422 ubyte&0xDF >0
  307. >>>>>>>422 string x \b%-.3s
  308. >>>>>425 ubyte&0xDF >0
  309. >>>>>>425 string >\ \b.%-.3s
  310. #
  311. >>>>371 ubyte >0x20
  312. >>>>>368 ubyte&0xDF >0
  313. >>>>>>368 string x %-.5s
  314. >>>>>>>373 ubyte&0xDF >0
  315. >>>>>>>>373 string x \b%-.3s
  316. >>>>>>376 ubyte&0xDF >0
  317. >>>>>>>376 string x \b.%-.3s
  318. #
  319. >430 string NTLDR\ nicht\ gefunden\xFF\r\n
  320. >>453 string Datentr\204gerfehler\xFF\r\n
  321. >>>473 string Neustart\ mit\ beliebiger\ Taste\r \b, Microsoft Windows XP Bootloader (german)
  322. >>>>417 ubyte&0xDF >0
  323. >>>>>417 string x %-.5s
  324. >>>>>>422 ubyte&0xDF >0
  325. >>>>>>>422 string x \b%-.3s
  326. >>>>>425 ubyte&0xDF >0
  327. >>>>>>425 string >\ \b.%-.3s
  328. # offset variant
  329. >>>>379 string \0
  330. >>>>>368 ubyte&0xDF >0
  331. >>>>>>368 string x %-.5s
  332. >>>>>>>373 ubyte&0xDF >0
  333. >>>>>>>>373 string x \b%-.3s
  334. #
  335. >430 string NTLDR\ fehlt\xFF\r\n
  336. >>444 string Datentr\204gerfehler\xFF\r\n
  337. >>>464 string Neustart\ mit\ beliebiger\ Taste\r \b, Microsoft Windows XP Bootloader (2.german)
  338. >>>>417 ubyte&0xDF >0
  339. >>>>>417 string x %-.5s
  340. >>>>>>422 ubyte&0xDF >0
  341. >>>>>>>422 string x \b%-.3s
  342. >>>>>425 ubyte&0xDF >0
  343. >>>>>>425 string >\ \b.%-.3s
  344. # variant
  345. >>>>371 ubyte >0x20
  346. >>>>>368 ubyte&0xDF >0
  347. >>>>>>368 string x %-.5s
  348. >>>>>>>373 ubyte&0xDF >0
  349. >>>>>>>>373 string x \b%-.3s
  350. >>>>>>376 ubyte&0xDF >0
  351. >>>>>>>376 string x \b.%-.3s
  352. #
  353. >430 string NTLDR\ fehlt\xFF\r\n
  354. >>444 string Medienfehler\xFF\r\n
  355. >>>459 string Neustart:\ Taste\ dr\201cken\r \b, Microsoft Windows XP Bootloader (3.german)
  356. >>>>371 ubyte >0x20
  357. >>>>>368 ubyte&0xDF >0
  358. >>>>>>368 string x %-.5s
  359. >>>>>>>373 ubyte&0xDF >0
  360. >>>>>>>>373 string x \b%-.3s
  361. >>>>>>376 ubyte&0xDF >0
  362. >>>>>>>376 string x \b.%-.3s
  363. # variant
  364. >>>>417 ubyte&0xDF >0
  365. >>>>>417 string x %-.5s
  366. >>>>>>422 ubyte&0xDF >0
  367. >>>>>>>422 string x \b%-.3s
  368. >>>>>425 ubyte&0xDF >0
  369. >>>>>>425 string >\ \b.%-.3s
  370. #
  371. >430 string Datentr\204ger\ entfernen\xFF\r\n
  372. >>454 string Medienfehler\xFF\r\n
  373. >>>469 string Neustart:\ Taste\ dr\201cken\r \b, Microsoft Windows XP Bootloader (4.german)
  374. >>>>368 ubyte&0xDF >0
  375. >>>>>368 string x %-.5s
  376. >>>>>>373 ubyte&0xDF >0
  377. >>>>>>>373 string x \b%-.3s
  378. >>>>>376 ubyte&0xDF >0
  379. >>>>>>376 string x \b.%-.3s
  380. #>3 string NTFS\ \ \ \
  381. >389 string Fehler\ beim\ Lesen\
  382. >>407 string des\ Datentr\204gers
  383. >>>426 string NTLDR\ fehlt
  384. >>>>440 string NTLDR\ ist\ komprimiert
  385. >>>>>464 string Neustart\ mit\ Strg+Alt+Entf\r \b, Microsoft Windows XP Bootloader NTFS (german)
  386. #>3 string NTFS\ \ \ \
  387. >313 string A\ disk\ read\ error\ occurred.\r
  388. >>345 string A\ kernel\ file\ is\ missing\
  389. >>>370 string from\ the\ disk.\r
  390. >>>>484 string NTLDR\ is\ compressed
  391. >>>>>429 string Insert\ a\ system\ diskette\
  392. >>>>>>454 string and\ restart\r\nthe\ system.\r \b, Microsoft Windows XP Bootloader NTFS
  393. # DOS loader variants different languages,offsets
  394. >472 ubyte&0xDF >0
  395. >>389 string Invalid\ system\ disk\xFF\r\n
  396. >>>411 string Disk\ I/O\ error
  397. >>>>428 string Replace\ the\ disk,\ and\
  398. >>>>>455 string press\ any\ key \b, Microsoft Windows 98 Bootloader
  399. #IO.SYS
  400. >>>>>>472 ubyte&0xDF >0
  401. >>>>>>>472 string x \b %-.2s
  402. >>>>>>>>474 ubyte&0xDF >0
  403. >>>>>>>>>474 string x \b%-.5s
  404. >>>>>>>>>>479 ubyte&0xDF >0
  405. >>>>>>>>>>>479 string x \b%-.1s
  406. >>>>>>>480 ubyte&0xDF >0
  407. >>>>>>>>480 string x \b.%-.3s
  408. #MSDOS.SYS
  409. >>>>>>>483 ubyte&0xDF >0 \b+
  410. >>>>>>>>483 string x \b%-.5s
  411. >>>>>>>>>488 ubyte&0xDF >0
  412. >>>>>>>>>>488 string x \b%-.3s
  413. >>>>>>>>491 ubyte&0xDF >0
  414. >>>>>>>>>491 string x \b.%-.3s
  415. #
  416. >>390 string Invalid\ system\ disk\xFF\r\n
  417. >>>412 string Disk\ I/O\ error\xFF\r\n
  418. >>>>429 string Replace\ the\ disk,\ and\
  419. >>>>>451 string then\ press\ any\ key\r \b, Microsoft Windows 98 Bootloader
  420. >>388 string Ungueltiges\ System\ \xFF\r\n
  421. >>>410 string E/A-Fehler\ \ \ \ \xFF\r\n
  422. >>>>427 string Datentraeger\ wechseln\ und\
  423. >>>>>453 string Taste\ druecken\r \b, Microsoft Windows 95/98/ME Bootloader (german)
  424. #WINBOOT.SYS only not spaces (0xDF)
  425. >>>>>>497 ubyte&0xDF >0
  426. >>>>>>>497 string x %-.5s
  427. >>>>>>>>502 ubyte&0xDF >0
  428. >>>>>>>>>502 string x \b%-.1s
  429. >>>>>>>>>>503 ubyte&0xDF >0
  430. >>>>>>>>>>>503 string x \b%-.1s
  431. >>>>>>>>>>>>504 ubyte&0xDF >0
  432. >>>>>>>>>>>>>504 string x \b%-.1s
  433. >>>>>>505 ubyte&0xDF >0
  434. >>>>>>>505 string x \b.%-.3s
  435. #IO.SYS
  436. >>>>>>472 ubyte&0xDF >0 or
  437. >>>>>>>472 string x \b %-.2s
  438. >>>>>>>>474 ubyte&0xDF >0
  439. >>>>>>>>>474 string x \b%-.5s
  440. >>>>>>>>>>479 ubyte&0xDF >0
  441. >>>>>>>>>>>479 string x \b%-.1s
  442. >>>>>>>480 ubyte&0xDF >0
  443. >>>>>>>>480 string x \b.%-.3s
  444. #MSDOS.SYS
  445. >>>>>>>483 ubyte&0xDF >0 \b+
  446. >>>>>>>>483 string x \b%-.5s
  447. >>>>>>>>>488 ubyte&0xDF >0
  448. >>>>>>>>>>488 string x \b%-.3s
  449. >>>>>>>>491 ubyte&0xDF >0
  450. >>>>>>>>>491 string x \b.%-.3s
  451. #
  452. >>390 string Ungueltiges\ System\ \xFF\r\n
  453. >>>412 string E/A-Fehler\ \ \ \ \xFF\r\n
  454. >>>>429 string Datentraeger\ wechseln\ und\
  455. >>>>>455 string Taste\ druecken\r \b, Microsoft Windows 95/98/ME Bootloader (German)
  456. #WINBOOT.SYS only not spaces (0xDF)
  457. >>>>>>497 ubyte&0xDF >0
  458. >>>>>>>497 string x %-.7s
  459. >>>>>>>>504 ubyte&0xDF >0
  460. >>>>>>>>>504 string x \b%-.1s
  461. >>>>>>505 ubyte&0xDF >0
  462. >>>>>>>505 string x \b.%-.3s
  463. #IO.SYS
  464. >>>>>>472 ubyte&0xDF >0 or
  465. >>>>>>>472 string x \b %-.2s
  466. >>>>>>>>474 ubyte&0xDF >0
  467. >>>>>>>>>474 string x \b%-.6s
  468. >>>>>>>480 ubyte&0xDF >0
  469. >>>>>>>>480 string x \b.%-.3s
  470. #MSDOS.SYS
  471. >>>>>>>483 ubyte&0xDF >0 \b+
  472. >>>>>>>>483 string x \b%-.5s
  473. >>>>>>>>>488 ubyte&0xDF >0
  474. >>>>>>>>>>488 string x \b%-.3s
  475. >>>>>>>>491 ubyte&0xDF >0
  476. >>>>>>>>>491 string x \b.%-.3s
  477. #
  478. >>389 string Ungueltiges\ System\ \xFF\r\n
  479. >>>411 string E/A-Fehler\ \ \ \ \xFF\r\n
  480. >>>>428 string Datentraeger\ wechseln\ und\
  481. >>>>>454 string Taste\ druecken\r \b, Microsoft Windows 95/98/ME Bootloader (GERMAN)
  482. # DOS names like IO.SYS,WINBOOT.SYS,MSDOS.SYS,WINBOOT.INI are 8 right space padded bytes+3 bytes
  483. >>>>>>472 string x %-.2s
  484. >>>>>>>474 ubyte&0xDF >0
  485. >>>>>>>>474 string x \b%-.5s
  486. >>>>>>>>479 ubyte&0xDF >0
  487. >>>>>>>>>479 string x \b%-.1s
  488. >>>>>>480 ubyte&0xDF >0
  489. >>>>>>>480 string x \b.%-.3s
  490. >>>>>>483 ubyte&0xDF >0 \b+
  491. >>>>>>>483 string x \b%-.5s
  492. >>>>>>>488 ubyte&0xDF >0
  493. >>>>>>>>488 string x \b%-.2s
  494. >>>>>>>>490 ubyte&0xDF >0
  495. >>>>>>>>>490 string x \b%-.1s
  496. >>>>>>>491 ubyte&0xDF >0
  497. >>>>>>>>491 string x \b.%-.3s
  498. >479 ubyte&0xDF >0
  499. >>416 string Kein\ System\ oder\
  500. >>>433 string Laufwerksfehler
  501. >>>>450 string Wechseln\ und\ Taste\ dr\201cken \b, Microsoft DOS Bootloader (german)
  502. #IO.SYS
  503. >>>>>479 string x \b %-.2s
  504. >>>>>>481 ubyte&0xDF >0
  505. >>>>>>>481 string x \b%-.6s
  506. >>>>>487 ubyte&0xDF >0
  507. >>>>>>487 string x \b.%-.3s
  508. #MSDOS.SYS
  509. >>>>>>490 ubyte&0xDF >0 \b+
  510. >>>>>>>490 string x \b%-.5s
  511. >>>>>>>>495 ubyte&0xDF >0
  512. >>>>>>>>>495 string x \b%-.3s
  513. >>>>>>>498 ubyte&0xDF >0
  514. >>>>>>>>498 string x \b.%-.3s
  515. #
  516. >376 search/41 Non-System\ disk\ or\
  517. >>395 search/41 disk\ error\r
  518. >>>407 search/41 Replace\ and\
  519. >>>>419 search/41 press\ \b,
  520. >>>>419 search/41 strike\ \b, old
  521. >>>>426 search/41 any\ key\ when\ ready\r MS or PC-DOS bootloader
  522. #449 Disk\ Boot\ failure\r MS 3.21
  523. #466 Boot\ Failure\r MS 3.30
  524. >>>>>468 search/18 \0
  525. #IO.SYS,IBMBIO.COM
  526. >>>>>>&0 string x \b %-.2s
  527. >>>>>>>&-20 ubyte&0xDF >0
  528. >>>>>>>>&-1 string x \b%-.4s
  529. >>>>>>>>>&-16 ubyte&0xDF >0
  530. >>>>>>>>>>&-1 string x \b%-.2s
  531. >>>>>>&8 ubyte&0xDF >0 \b.
  532. >>>>>>>&-1 string x \b%-.3s
  533. #MSDOS.SYS,IBMDOS.COM
  534. >>>>>>&11 ubyte&0xDF >0 \b+
  535. >>>>>>>&-1 string x \b%-.5s
  536. >>>>>>>>&-6 ubyte&0xDF >0
  537. >>>>>>>>>&-1 string x \b%-.1s
  538. >>>>>>>>>>&-5 ubyte&0xDF >0
  539. >>>>>>>>>>>&-1 string x \b%-.2s
  540. >>>>>>>&7 ubyte&0xDF >0 \b.
  541. >>>>>>>>&-1 string x \b%-.3s
  542. >441 string Cannot\ load\ from\ harddisk.\n\r
  543. >>469 string Insert\ Systemdisk\
  544. >>>487 string and\ press\ any\ key.\n\r \b, MS (2.11) DOS bootloader
  545. #>43 string \224R-LOADER\ \ SYS =label
  546. >54 string SYS
  547. >>324 string VASKK
  548. >>>495 string NEWLDR\0 \b, DR-DOS Bootloader (LOADER.SYS)
  549. #
  550. >98 string Press\ a\ key\ to\ retry\0\r
  551. >>120 string Cannot\ find\ file\ \0\r
  552. >>>139 string Disk\ read\ error\0\r
  553. >>>>156 string Loading\ ...\0 \b, DR-DOS (3.41) Bootloader
  554. #DRBIOS.SYS
  555. >>>>>44 ubyte&0xDF >0
  556. >>>>>>44 string x \b %-.6s
  557. >>>>>>>50 ubyte&0xDF >0
  558. >>>>>>>>50 string x \b%-.2s
  559. >>>>>>52 ubyte&0xDF >0
  560. >>>>>>>52 string x \b.%-.3s
  561. #
  562. >70 string IBMBIO\ \ COM
  563. >>472 string Cannot\ load\ DOS!\
  564. >>>489 string Any\ key\ to\ retry \b, DR-DOS Bootloader
  565. >>471 string Cannot\ load\ DOS\
  566. >>487 string press\ key\ to\ retry \b, Open-DOS Bootloader
  567. >444 string KERNEL\ \ SYS
  568. >>314 string BOOT\ error! \b, FREE-DOS Bootloader
  569. >499 string KERNEL\ \ SYS
  570. >>305 string BOOT\ err!\0 \b, Free-DOS Bootloader
  571. >449 string KERNEL\ \ SYS
  572. >>319 string BOOT\ error! \b, FREE-DOS 0.5 Bootloader
  573. >125 string Loading\ FreeDOS...\r
  574. >>311 string BOOT\ error!\r \b, FREE-DOS bootloader
  575. >>>441 ubyte&0xDF >0
  576. >>>>441 string x \b %-.6s
  577. >>>>>447 ubyte&0xDF >0
  578. >>>>>>447 string x \b%-.1s
  579. >>>>>>>448 ubyte&0xDF >0
  580. >>>>>>>>448 string x \b%-.1s
  581. >>>>449 ubyte&0xDF >0
  582. >>>>>449 string x \b.%-.3s
  583. >124 string FreeDOS\0
  584. >>331 string \ err\0 \b, FREE-DOS BETa 0.9 Bootloader
  585. # DOS names like KERNEL.SYS,KERNEL16.SYS,KERNEL32.SYS,METAKERN.SYS are 8 right space padded bytes+3 bytes
  586. >>>497 ubyte&0xDF >0
  587. >>>>497 string x \b %-.6s
  588. >>>>>503 ubyte&0xDF >0
  589. >>>>>>503 string x \b%-.1s
  590. >>>>>>>504 ubyte&0xDF >0
  591. >>>>>>>>504 string x \b%-.1s
  592. >>>>505 ubyte&0xDF >0
  593. >>>>>505 string x \b.%-.3s
  594. >>333 string \ err\0 \b, FREE-DOS BEta 0.9 Bootloader
  595. >>>497 ubyte&0xDF >0
  596. >>>>497 string x \b %-.6s
  597. >>>>>503 ubyte&0xDF >0
  598. >>>>>>503 string x \b%-.1s
  599. >>>>>>>504 ubyte&0xDF >0
  600. >>>>>>>>504 string x \b%-.1s
  601. >>>>505 ubyte&0xDF >0
  602. >>>>>505 string x \b.%-.3s
  603. >>334 string \ err\0 \b, FREE-DOS Beta 0.9 Bootloader
  604. >>>497 ubyte&0xDF >0
  605. >>>>497 string x \b %-.6s
  606. >>>>>503 ubyte&0xDF >0
  607. >>>>>>503 string x \b%-.1s
  608. >>>>>>>504 ubyte&0xDF >0
  609. >>>>>>>>504 string x \b%-.1s
  610. >>>>505 ubyte&0xDF >0
  611. >>>>>505 string x \b.%-.3s
  612. >336 string Error!\
  613. >>343 string Hit\ a\ key\ to\ reboot. \b, FREE-DOS Beta 0.9sr1 Bootloader
  614. >>>497 ubyte&0xDF >0
  615. >>>>497 string x \b %-.6s
  616. >>>>>503 ubyte&0xDF >0
  617. >>>>>>503 string x \b%-.1s
  618. >>>>>>>504 ubyte&0xDF >0
  619. >>>>>>>>504 string x \b%-.1s
  620. >>>>505 ubyte&0xDF >0
  621. >>>>>505 string x \b.%-.3s
  622. # added by Joerg Jenderek
  623. # http://www.visopsys.org/
  624. # http://partitionlogic.org.uk/
  625. # OEM-ID=Visopsys
  626. >478 ulelong 0
  627. >>(1.b+326) string I/O\ Error\ reading\
  628. >>>(1.b+344) string Visopsys\ loader\r
  629. >>>>(1.b+361) string Press\ any\ key\ to\ continue.\r \b, Visopsys loader
  630. # http://alexfru.chat.ru/epm.html#bootprog
  631. >494 ubyte >0x4D
  632. >>495 string >E
  633. >>>495 string <S
  634. #OEM-ID is not reliable
  635. >>>>3 string BootProg
  636. # It just looks for a program file name at the root directory
  637. # and loads corresponding file with following execution.
  638. # DOS names like STARTUP.BIN,STARTUPC.COM,STARTUPE.EXE are 8 right space padded bytes+3 bytes
  639. >>>>499 ubyte&0xDF >0 \b, COM/EXE Bootloader
  640. >>>>>499 string x \b %-.1s
  641. >>>>>>500 ubyte&0xDF >0
  642. >>>>>>>500 string x \b%-.1s
  643. >>>>>>>>501 ubyte&0xDF >0
  644. >>>>>>>>>501 string x \b%-.1s
  645. >>>>>>>>>>502 ubyte&0xDF >0
  646. >>>>>>>>>>>502 string x \b%-.1s
  647. >>>>>>>>>>>>503 ubyte&0xDF >0
  648. >>>>>>>>>>>>>503 string x \b%-.1s
  649. >>>>>>>>>>>>>>504 ubyte&0xDF >0
  650. >>>>>>>>>>>>>>>504 string x \b%-.1s
  651. >>>>>>>>>>>>>>>>505 ubyte&0xDF >0
  652. >>>>>>>>>>>>>>>>>505 string x \b%-.1s
  653. >>>>>>>>>>>>>>>>>>506 ubyte&0xDF >0
  654. >>>>>>>>>>>>>>>>>>>506 string x \b%-.1s
  655. #name extension
  656. >>>>>507 ubyte&0xDF >0 \b.
  657. >>>>>>507 string x \b%-.1s
  658. >>>>>>>508 ubyte&0xDF >0
  659. >>>>>>>>508 string x \b%-.1s
  660. >>>>>>>>>509 ubyte&0xDF >0
  661. >>>>>>>>>>509 string x \b%-.1s
  662. #If the boot sector fails to read any other sector,
  663. #it prints a very short message ("RE") to the screen and hangs the computer.
  664. #If the boot sector fails to find needed program in the root directory,
  665. #it also hangs with another message ("NF").
  666. >>>>>492 string RENF \b, FAT (12 bit)
  667. >>>>>495 string RENF \b, FAT (16 bit)
  668. # http://alexfru.chat.ru/epm.html#bootprog
  669. >494 ubyte >0x4D
  670. >>495 string >E
  671. >>>495 string <S
  672. #OEM-ID is not reliable
  673. >>>>3 string BootProg
  674. # It just looks for a program file name at the root directory
  675. # and loads corresponding file with following execution.
  676. # DOS names like STARTUP.BIN,STARTUPC.COM,STARTUPE.EXE are 8 right space padded bytes+3 bytes
  677. >>>>499 ubyte&0xDF >0 \b, COM/EXE Bootloader
  678. >>>>>499 string x \b %-.1s
  679. >>>>>>500 ubyte&0xDF >0
  680. >>>>>>>500 string x \b%-.1s
  681. >>>>>>>>501 ubyte&0xDF >0
  682. >>>>>>>>>501 string x \b%-.1s
  683. >>>>>>>>>>502 ubyte&0xDF >0
  684. >>>>>>>>>>>502 string x \b%-.1s
  685. >>>>>>>>>>>>503 ubyte&0xDF >0
  686. >>>>>>>>>>>>>503 string x \b%-.1s
  687. >>>>>>>>>>>>>>504 ubyte&0xDF >0
  688. >>>>>>>>>>>>>>>504 string x \b%-.1s
  689. >>>>>>>>>>>>>>>>505 ubyte&0xDF >0
  690. >>>>>>>>>>>>>>>>>505 string x \b%-.1s
  691. >>>>>>>>>>>>>>>>>>506 ubyte&0xDF >0
  692. >>>>>>>>>>>>>>>>>>>506 string x \b%-.1s
  693. #name extension
  694. >>>>>507 ubyte&0xDF >0 \b.
  695. >>>>>>507 string x \b%-.1s
  696. >>>>>>>508 ubyte&0xDF >0
  697. >>>>>>>>508 string x \b%-.1s
  698. >>>>>>>>>509 ubyte&0xDF >0
  699. >>>>>>>>>>509 string x \b%-.1s
  700. #If the boot sector fails to read any other sector,
  701. #it prints a very short message ("RE") to the screen and hangs the computer.
  702. #If the boot sector fails to find needed program in the root directory,
  703. #it also hangs with another message ("NF").
  704. >>>>>492 string RENF \b, FAT (12 bit)
  705. >>>>>495 string RENF \b, FAT (16 bit)
  706. # added by Joerg Jenderek
  707. # http://syslinux.zytor.com/iso.php
  708. 0 ulelong 0x7c40eafa isolinux Loader
  709. # http://syslinux.zytor.com/pxe.php
  710. 0 ulelong 0x007c05ea pxelinux Loader
  711. 0 ulelong 0x60669c66 pxelinux Loader
  712. # loader end
  713. # updated by Joerg Jenderek at Sep 2007
  714. >3 ubyte 0
  715. #no active flag
  716. >>446 ubyte 0
  717. # partition 1 not empty
  718. >>>450 ubyte >0
  719. # partitions 3,4 empty
  720. >>>>482 ubyte 0
  721. >>>>>498 ubyte 0
  722. # partition 2 ID=0,5,15
  723. >>>>>>466 ubyte <0x10
  724. >>>>>>>466 ubyte 0x05 \b, extended partition table
  725. >>>>>>>466 ubyte 0x0F \b, extended partition table (LBA)
  726. >>>>>>>466 ubyte 0x0 \b, extended partition table (last)
  727. # JuMP short bootcodeoffset NOP assembler instructions will usually be EB xx 90
  728. # http://mirror.href.com/thestarman/asm/2bytejumps.htmm#FWD
  729. # older drives may use Near JuMP instruction E9 xx xx
  730. >0 lelong&0x009000EB 0x009000EB
  731. >0 lelong&0x000000E9 0x000000E9
  732. # maximal short forward jump is 07fx
  733. >1 ubyte <0xff \b, code offset 0x%x
  734. # mtools-3.9.8/msdos.h
  735. # usual values are marked with comments to get only informations of strange FAT systems
  736. # valid sectorsize must be a power of 2 from 32 to 32768
  737. >>11 uleshort&0x000f x
  738. >>>11 uleshort <32769
  739. >>>>11 uleshort >31
  740. >>>>>3 string >\0 \b, OEM-ID "%8.8s"
  741. #http://mirror.href.com/thestarman/asm/debug/debug2.htm#IHC
  742. >>>>>>8 string IHC \b cached by Windows 9M
  743. >>>>>11 uleshort >512 \b, Bytes/sector %u
  744. #>>>>>11 uleshort =512 \b, Bytes/sector %u=512 (usual)
  745. >>>>>11 uleshort <512 \b, Bytes/sector %u
  746. >>>>>13 ubyte >1 \b, sectors/cluster %u
  747. #>>>>>13 ubyte =1 \b, sectors/cluster %u (usual on Floppies)
  748. >>>>>14 uleshort >32 \b, reserved sectors %u
  749. #>>>>>14 uleshort =32 \b, reserved sectors %u (usual Fat32)
  750. #>>>>>14 uleshort >1 \b, reserved sectors %u
  751. #>>>>>14 uleshort =1 \b, reserved sectors %u (usual FAT12,FAT16)
  752. >>>>>14 uleshort <1 \b, reserved sectors %u
  753. >>>>>16 ubyte >2 \b, FATs %u
  754. #>>>>>16 ubyte =2 \b, FATs %u (usual)
  755. >>>>>16 ubyte =1 \b, FAT %u
  756. >>>>>16 ubyte >0
  757. >>>>>17 uleshort >0 \b, root entries %u
  758. #>>>>>17 uleshort =0 \b, root entries %u=0 (usual Fat32)
  759. >>>>>19 uleshort >0 \b, sectors %u (volumes <=32 MB)
  760. #>>>>>19 uleshort =0 \b, sectors %u=0 (usual Fat32)
  761. >>>>>21 ubyte >0xF0 \b, Media descriptor 0x%x
  762. #>>>>>21 ubyte =0xF0 \b, Media descriptor 0x%x (usual floppy)
  763. >>>>>21 ubyte <0xF0 \b, Media descriptor 0x%x
  764. >>>>>22 uleshort >0 \b, sectors/FAT %u
  765. #>>>>>22 uleshort =0 \b, sectors/FAT %u=0 (usual Fat32)
  766. >>>>>26 ubyte >2 \b, heads %u
  767. #>>>>>26 ubyte =2 \b, heads %u (usual floppy)
  768. >>>>>26 ubyte =1 \b, heads %u
  769. #skip for Digital Research DOS (version 3.41) 1440 kB Bootdisk
  770. >>>>>38 ubyte !0x70
  771. >>>>>>28 ulelong >0 \b, hidden sectors %u
  772. #>>>>>>28 ulelong =0 \b, hidden sectors %u (usual floppy)
  773. >>>>>>32 ulelong >0 \b, sectors %u (volumes > 32 MB)
  774. #>>>>>>32 ulelong =0 \b, sectors %u (volumes > 32 MB)
  775. # FAT<32 specific
  776. >>>>>82 string !FAT32
  777. #>>>>>>36 ubyte 0x80 \b, physical drive 0x%x=0x80 (usual harddisk)
  778. #>>>>>>36 ubyte 0 \b, physical drive 0x%x=0 (usual floppy)
  779. >>>>>>36 ubyte !0x80
  780. >>>>>>>36 ubyte !0 \b, physical drive 0x%x
  781. >>>>>>37 ubyte >0 \b, reserved 0x%x
  782. #>>>>>>37 ubyte =0 \b, reserved 0x%x
  783. >>>>>>38 ubyte >0x29 \b, dos < 4.0 BootSector (0x%x)
  784. >>>>>>38 ubyte <0x29 \b, dos < 4.0 BootSector (0x%x)
  785. >>>>>>38 ubyte =0x29
  786. >>>>>>>39 ulelong x \b, serial number 0x%x
  787. >>>>>>>43 string <NO\ NAME \b, label: "%11.11s"
  788. >>>>>>>43 string >NO\ NAME \b, label: "%11.11s"
  789. >>>>>>>43 string =NO\ NAME \b, unlabeled
  790. >>>>>>54 string FAT \b, FAT
  791. >>>>>>>54 string FAT12 \b (12 bit)
  792. >>>>>>>54 string FAT16 \b (16 bit)
  793. # FAT32 specific
  794. >>>>>82 string FAT32 \b, FAT (32 bit)
  795. >>>>>>36 ulelong x \b, sectors/FAT %u
  796. >>>>>>40 uleshort >0 \b, extension flags %u
  797. #>>>>>>40 uleshort =0 \b, extension flags %u
  798. >>>>>>42 uleshort >0 \b, fsVersion %u
  799. #>>>>>>42 uleshort =0 \b, fsVersion %u (usual)
  800. >>>>>>44 ulelong >2 \b, rootdir cluster %u
  801. #>>>>>>44 ulelong =2 \b, rootdir cluster %u
  802. #>>>>>>44 ulelong =1 \b, rootdir cluster %u
  803. >>>>>>48 uleshort >1 \b, infoSector %u
  804. #>>>>>>48 uleshort =1 \b, infoSector %u (usual)
  805. >>>>>>48 uleshort <1 \b, infoSector %u
  806. >>>>>>50 uleshort >6 \b, Backup boot sector %u
  807. #>>>>>>50 uleshort =6 \b, Backup boot sector %u (usual)
  808. >>>>>>50 uleshort <6 \b, Backup boot sector %u
  809. >>>>>>54 ulelong >0 \b, reserved1 0x%x
  810. >>>>>>58 ulelong >0 \b, reserved2 0x%x
  811. >>>>>>62 ulelong >0 \b, reserved3 0x%x
  812. # same structure as FAT1X
  813. >>>>>>64 ubyte >0x80 \b, physical drive 0x%x
  814. #>>>>>>64 ubyte =0x80 \b, physical drive 0x%x=80 (usual harddisk)
  815. >>>>>>64 ubyte&0x7F >0 \b, physical drive 0x%x
  816. #>>>>>>64 ubyte =0 \b, physical drive 0x%x=0 (usual floppy)
  817. >>>>>>65 ubyte >0 \b, reserved 0x%x
  818. >>>>>>66 ubyte >0x29 \b, dos < 4.0 BootSector (0x%x)
  819. >>>>>>66 ubyte <0x29 \b, dos < 4.0 BootSector (0x%x)
  820. >>>>>>66 ubyte =0x29
  821. >>>>>>>67 ulelong x \b, serial number 0x%x
  822. >>>>>>>71 string <NO\ NAME \b, label: "%11.11s"
  823. >>>>>>71 string >NO\ NAME \b, label: "%11.11s"
  824. >>>>>>71 string =NO\ NAME \b, unlabeled
  825. ### FATs end
  826. >0x200 lelong 0x82564557 \b, BSD disklabel
  827. # FATX
  828. 0 string FATX FATX filesystem data
  829. # Minix filesystems - Juan Cespedes <cespedes@debian.org>
  830. 0x410 leshort 0x137f Minix filesystem
  831. 0x410 beshort 0x137f Minix filesystem (big endian)
  832. >0x402 beshort !0 \b, %d zones
  833. >0x1e string minix \b, bootable
  834. 0x410 leshort 0x138f Minix filesystem, 30 char names
  835. 0x410 leshort 0x2468 Minix filesystem, version 2
  836. 0x410 leshort 0x2478 Minix filesystem, version 2, 30 char names
  837. # romfs filesystems - Juan Cespedes <cespedes@debian.org>
  838. 0 string -rom1fs-\0 romfs filesystem, version 1
  839. >8 belong x %d bytes,
  840. >16 string x named %s.
  841. # netboot image - Juan Cespedes <cespedes@debian.org>
  842. 0 lelong 0x1b031336L Netboot image,
  843. >4 lelong&0xFFFFFF00 0
  844. >>4 lelong&0x100 0x000 mode 2
  845. >>4 lelong&0x100 0x100 mode 3
  846. >4 lelong&0xFFFFFF00 !0 unknown mode
  847. 0x18b string OS/2 OS/2 Boot Manager
  848. # added by Joerg Jenderek
  849. # In the second sector (+0x200) are variables according to grub-0.97/stage2/asm.S or
  850. # grub-1.94/kern/i386/pc/startup.S
  851. # http://www.gnu.org/software/grub/manual/grub.html#Embedded-data
  852. # usual values are marked with comments to get only informations of strange GRUB loaders
  853. 0x200 uleshort 0x70EA
  854. # found only version 3.{1,2}
  855. >0x206 ubeshort >0x0300
  856. # GRUB version (0.5.)95,0.93,0.94,0.96,0.97 > "00"
  857. >>0x212 ubyte >0x29
  858. >>>0x213 ubyte >0x29
  859. # not iso9660_stage1_5
  860. #>>>0 ulelong&0x00BE5652 0x00BE5652
  861. >>>>0x213 ubyte >0x29 GRand Unified Bootloader
  862. # config_file for stage1_5 is 0xffffffff + default "/boot/grub/stage2"
  863. >>>>0x217 ubyte 0xFF stage1_5
  864. >>>>0x217 ubyte <0xFF stage2
  865. >>>>0x206 ubyte x \b version %u
  866. >>>>0x207 ubyte x \b.%u
  867. # module_size for 1.94
  868. >>>>0x208 ulelong <0xffffff \b, installed partition %u
  869. #>>>>0x208 ulelong =0xffffff \b, %u (default)
  870. >>>>0x208 ulelong >0xffffff \b, installed partition %u
  871. # GRUB 0.5.95 unofficial
  872. >>>>0x20C ulelong&0x2E300000 0x2E300000
  873. # 0=stage2 1=ffs 2=e2fs 3=fat 4=minix 5=reiserfs
  874. >>>>>0x20C ubyte x \b, identifier 0x%x
  875. #>>>>>0x20D ubyte =0 \b, LBA flag 0x%x (default)
  876. >>>>>0x20D ubyte >0 \b, LBA flag 0x%x
  877. # GRUB version as string
  878. >>>>>0x20E string >\0 \b, GRUB version %-s
  879. # for stage1_5 is 0xffffffff + config_file "/boot/grub/stage2" default
  880. >>>>>>0x215 ulong 0xffffffff
  881. >>>>>>>0x219 string >\0 \b, configuration file %-s
  882. >>>>>>0x215 ulong !0xffffffff
  883. >>>>>>>0x215 string >\0 \b, configuration file %-s
  884. # newer GRUB versions
  885. >>>>0x20C ulelong&0x2E300000 !0x2E300000
  886. ##>>>>>0x20C ulelong =0 \b, saved entry %d (usual)
  887. >>>>>0x20C ulelong >0 \b, saved entry %d
  888. # for 1.94 contains kernel image size
  889. # for 0.93,0.94,0.96,0.97
  890. # 0=stage2 1=ffs 2=e2fs 3=fat 4=minix 5=reiserfs 6=vstafs 7=jfs 8=xfs 9=iso9660 a=ufs2
  891. >>>>>0x210 ubyte x \b, identifier 0x%x
  892. # The flag for LBA forcing is in most cases 0
  893. #>>>>>0x211 ubyte =0 \b, LBA flag 0x%x (default)
  894. >>>>>0x211 ubyte >0 \b, LBA flag 0x%x
  895. # GRUB version as string
  896. >>>>>0x212 string >\0 \b, GRUB version %-s
  897. # for stage1_5 is 0xffffffff + config_file "/boot/grub/stage2" default
  898. >>>>>0x217 ulong 0xffffffff
  899. >>>>>>0x21b string >\0 \b, configuration file %-s
  900. >>>>>0x217 ulong !0xffffffff
  901. >>>>>>0x217 string >\0 \b, configuration file %-s
  902. 9564 lelong 0x00011954 Unix Fast File system [v1] (little-endian),
  903. >8404 string x last mounted on %s,
  904. #>9504 ledate x last checked at %s,
  905. >8224 ledate x last written at %s,
  906. >8401 byte x clean flag %d,
  907. >8228 lelong x number of blocks %d,
  908. >8232 lelong x number of data blocks %d,
  909. >8236 lelong x number of cylinder groups %d,
  910. >8240 lelong x block size %d,
  911. >8244 lelong x fragment size %d,
  912. >8252 lelong x minimum percentage of free blocks %d,
  913. >8256 lelong x rotational delay %dms,
  914. >8260 lelong x disk rotational speed %drps,
  915. >8320 lelong 0 TIME optimization
  916. >8320 lelong 1 SPACE optimization
  917. 42332 lelong 0x19540119 Unix Fast File system [v2] (little-endian)
  918. >&-1164 string x last mounted on %s,
  919. >&-696 string >\0 volume name %s,
  920. >&-304 leqldate x last written at %s,
  921. >&-1167 byte x clean flag %d,
  922. >&-1168 byte x readonly flag %d,
  923. >&-296 lequad x number of blocks %lld,
  924. >&-288 lequad x number of data blocks %lld,
  925. >&-1332 lelong x number of cylinder groups %d,
  926. >&-1328 lelong x block size %d,
  927. >&-1324 lelong x fragment size %d,
  928. >&-180 lelong x average file size %d,
  929. >&-176 lelong x average number of files in dir %d,
  930. >&-272 lequad x pending blocks to free %lld,
  931. >&-264 lelong x pending inodes to free %ld,
  932. >&-664 lequad x system-wide uuid %0llx,
  933. >&-1316 lelong x minimum percentage of free blocks %d,
  934. >&-1248 lelong 0 TIME optimization
  935. >&-1248 lelong 1 SPACE optimization
  936. 66908 lelong 0x19540119 Unix Fast File system [v2] (little-endian)
  937. >&-1164 string x last mounted on %s,
  938. >&-696 string >\0 volume name %s,
  939. >&-304 leqldate x last written at %s,
  940. >&-1167 byte x clean flag %d,
  941. >&-1168 byte x readonly flag %d,
  942. >&-296 lequad x number of blocks %lld,
  943. >&-288 lequad x number of data blocks %lld,
  944. >&-1332 lelong x number of cylinder groups %d,
  945. >&-1328 lelong x block size %d,
  946. >&-1324 lelong x fragment size %d,
  947. >&-180 lelong x average file size %d,
  948. >&-176 lelong x average number of files in dir %d,
  949. >&-272 lequad x pending blocks to free %lld,
  950. >&-264 lelong x pending inodes to free %ld,
  951. >&-664 lequad x system-wide uuid %0llx,
  952. >&-1316 lelong x minimum percentage of free blocks %d,
  953. >&-1248 lelong 0 TIME optimization
  954. >&-1248 lelong 1 SPACE optimization
  955. 9564 belong 0x00011954 Unix Fast File system [v1] (big-endian),
  956. >7168 belong 0x4c41424c Apple UFS Volume
  957. >>7186 string x named %s,
  958. >>7176 belong x volume label version %d,
  959. >>7180 bedate x created on %s,
  960. >8404 string x last mounted on %s,
  961. #>9504 bedate x last checked at %s,
  962. >8224 bedate x last written at %s,
  963. >8401 byte x clean flag %d,
  964. >8228 belong x number of blocks %d,
  965. >8232 belong x number of data blocks %d,
  966. >8236 belong x number of cylinder groups %d,
  967. >8240 belong x block size %d,
  968. >8244 belong x fragment size %d,
  969. >8252 belong x minimum percentage of free blocks %d,
  970. >8256 belong x rotational delay %dms,
  971. >8260 belong x disk rotational speed %drps,
  972. >8320 belong 0 TIME optimization
  973. >8320 belong 1 SPACE optimization
  974. 42332 belong 0x19540119 Unix Fast File system [v2] (big-endian)
  975. >&-1164 string x last mounted on %s,
  976. >&-696 string >\0 volume name %s,
  977. >&-304 beqldate x last written at %s,
  978. >&-1167 byte x clean flag %d,
  979. >&-1168 byte x readonly flag %d,
  980. >&-296 bequad x number of blocks %lld,
  981. >&-288 bequad x number of data blocks %lld,
  982. >&-1332 belong x number of cylinder groups %d,
  983. >&-1328 belong x block size %d,
  984. >&-1324 belong x fragment size %d,
  985. >&-180 belong x average file size %d,
  986. >&-176 belong x average number of files in dir %d,
  987. >&-272 bequad x pending blocks to free %lld,
  988. >&-264 belong x pending inodes to free %ld,
  989. >&-664 bequad x system-wide uuid %0llx,
  990. >&-1316 belong x minimum percentage of free blocks %d,
  991. >&-1248 belong 0 TIME optimization
  992. >&-1248 belong 1 SPACE optimization
  993. 66908 belong 0x19540119 Unix Fast File system [v2] (big-endian)
  994. >&-1164 string x last mounted on %s,
  995. >&-696 string >\0 volume name %s,
  996. >&-304 beqldate x last written at %s,
  997. >&-1167 byte x clean flag %d,
  998. >&-1168 byte x readonly flag %d,
  999. >&-296 bequad x number of blocks %lld,
  1000. >&-288 bequad x number of data blocks %lld,
  1001. >&-1332 belong x number of cylinder groups %d,
  1002. >&-1328 belong x block size %d,
  1003. >&-1324 belong x fragment size %d,
  1004. >&-180 belong x average file size %d,
  1005. >&-176 belong x average number of files in dir %d,
  1006. >&-272 bequad x pending blocks to free %lld,
  1007. >&-264 belong x pending inodes to free %ld,
  1008. >&-664 bequad x system-wide uuid %0llx,
  1009. >&-1316 belong x minimum percentage of free blocks %d,
  1010. >&-1248 belong 0 TIME optimization
  1011. >&-1248 belong 1 SPACE optimization
  1012. # ext2/ext3 filesystems - Andreas Dilger <adilger@dilger.ca>
  1013. # ext4 filesystem - Eric Sandeen <sandeen@sandeen.net>
  1014. 0x438 leshort 0xEF53 Linux
  1015. >0x44c lelong x rev %d
  1016. >0x43e leshort x \b.%d
  1017. # No journal? ext2
  1018. >0x45c lelong ^0x0000004 ext2 filesystem data
  1019. >>0x43a leshort ^0x0000001 (mounted or unclean)
  1020. # Has a journal? ext3 or ext4
  1021. >0x45c lelong &0x0000004
  1022. # and small INCOMPAT?
  1023. >>0x460 lelong <0x0000040
  1024. # and small RO_COMPAT?
  1025. >>>0x464 lelong <0x0000008 ext3 filesystem data
  1026. # else large RO_COMPAT?
  1027. >>>0x464 lelong >0x0000007 ext4 filesystem data
  1028. # else large INCOMPAT?
  1029. >>0x460 lelong >0x000003f ext4 filesystem data
  1030. # General flags for any ext* fs
  1031. >0x460 lelong &0x0000004 (needs journal recovery)
  1032. >0x43a leshort &0x0000002 (errors)
  1033. # INCOMPAT flags
  1034. >0x460 lelong &0x0000001 (compressed)
  1035. #>0x460 lelong &0x0000002 (filetype)
  1036. #>0x460 lelong &0x0000010 (meta bg)
  1037. >0x460 lelong &0x0000040 (extents)
  1038. >0x460 lelong &0x0000080 (64bit)
  1039. #>0x460 lelong &0x0000100 (mmp)
  1040. #>0x460 lelong &0x0000200 (flex bg)
  1041. # RO_INCOMPAT flags
  1042. #>0x464 lelong &0x0000001 (sparse super)
  1043. >0x464 lelong &0x0000002 (large files)
  1044. >0x464 lelong &0x0000008 (huge files)
  1045. #>0x464 lelong &0x0000010 (gdt checksum)
  1046. #>0x464 lelong &0x0000020 (many subdirs)
  1047. #>0x463 lelong &0x0000040 (extra isize)
  1048. # SGI disk labels - Nathan Scott <nathans@debian.org>
  1049. 0 belong 0x0BE5A941 SGI disk label (volume header)
  1050. # SGI XFS filesystem - Nathan Scott <nathans@debian.org>
  1051. 0 belong 0x58465342 SGI XFS filesystem data
  1052. >0x4 belong x (blksz %d,
  1053. >0x68 beshort x inosz %d,
  1054. >0x64 beshort ^0x2004 v1 dirs)
  1055. >0x64 beshort &0x2004 v2 dirs)
  1056. ############################################################################
  1057. # Minix-ST kernel floppy
  1058. 0x800 belong 0x46fc2700 Atari-ST Minix kernel image
  1059. >19 string \240\5\371\5\0\011\0\2\0 \b, 720k floppy
  1060. >19 string \320\2\370\5\0\011\0\1\0 \b, 360k floppy
  1061. ############################################################################
  1062. # Hmmm, is this a better way of detecting _standard_ floppy images ?
  1063. 19 string \320\2\360\3\0\011\0\1\0 DOS floppy 360k
  1064. >0x1FE leshort 0xAA55 \b, x86 hard disk boot sector
  1065. 19 string \240\5\371\3\0\011\0\2\0 DOS floppy 720k
  1066. >0x1FE leshort 0xAA55 \b, x86 hard disk boot sector
  1067. 19 string \100\013\360\011\0\022\0\2\0 DOS floppy 1440k
  1068. >0x1FE leshort 0xAA55 \b, x86 hard disk boot sector
  1069. 19 string \240\5\371\5\0\011\0\2\0 DOS floppy 720k, IBM
  1070. >0x1FE leshort 0xAA55 \b, x86 hard disk boot sector
  1071. 19 string \100\013\371\5\0\011\0\2\0 DOS floppy 1440k, mkdosfs
  1072. >0x1FE leshort 0xAA55 \b, x86 hard disk boot sector
  1073. 19 string \320\2\370\5\0\011\0\1\0 Atari-ST floppy 360k
  1074. 19 string \240\5\371\5\0\011\0\2\0 Atari-ST floppy 720k
  1075. # Valid media descriptor bytes for MS-DOS:
  1076. #
  1077. # Byte Capacity Media Size and Type
  1078. # -------------------------------------------------
  1079. #
  1080. # F0 2.88 MB 3.5-inch, 2-sided, 36-sector
  1081. # F0 1.44 MB 3.5-inch, 2-sided, 18-sector
  1082. # F9 720K 3.5-inch, 2-sided, 9-sector
  1083. # F9 1.2 MB 5.25-inch, 2-sided, 15-sector
  1084. # FD 360K 5.25-inch, 2-sided, 9-sector
  1085. # FF 320K 5.25-inch, 2-sided, 8-sector
  1086. # FC 180K 5.25-inch, 1-sided, 9-sector
  1087. # FE 160K 5.25-inch, 1-sided, 8-sector
  1088. # FE 250K 8-inch, 1-sided, single-density
  1089. # FD 500K 8-inch, 2-sided, single-density
  1090. # FE 1.2 MB 8-inch, 2-sided, double-density
  1091. # F8 ----- Fixed disk
  1092. #
  1093. # FC xxxK Apricot 70x1x9 boot disk.
  1094. #
  1095. # Originally a bitmap:
  1096. # xxxxxxx0 Not two sided
  1097. # xxxxxxx1 Double sided
  1098. # xxxxxx0x Not 8 SPT
  1099. # xxxxxx1x 8 SPT
  1100. # xxxxx0xx Not Removable drive
  1101. # xxxxx1xx Removable drive
  1102. # 11111xxx Must be one.
  1103. #
  1104. # But now it's rather random:
  1105. # 111111xx Low density disk
  1106. # 00 SS, Not 8 SPT
  1107. # 01 DS, Not 8 SPT
  1108. # 10 SS, 8 SPT
  1109. # 11 DS, 8 SPT
  1110. #
  1111. # 11111001 Double density 3½ floppy disk, high density 5¼
  1112. # 11110000 High density 3½ floppy disk
  1113. # 11111000 Hard disk any format
  1114. #
  1115. # CDROM Filesystems
  1116. # Modified for UDF by gerardo.cacciari@gmail.com
  1117. 32769 string CD001
  1118. !:mime application/x-iso9660-image
  1119. >38913 string !NSR0 ISO 9660 CD-ROM filesystem data
  1120. >38913 string NSR0 UDF filesystem data
  1121. >>38917 string 1 (version 1.0)
  1122. >>38917 string 2 (version 1.5)
  1123. >>38917 string 3 (version 2.0)
  1124. >>38917 byte >0x33 (unknown version, ID 0x%X)
  1125. >>38917 byte <0x31 (unknown version, ID 0x%X)
  1126. # "application id" which appears to be used as a volume label
  1127. >32808 string >\0 '%s'
  1128. >34816 string \000CD001\001EL\ TORITO\ SPECIFICATION (bootable)
  1129. 37633 string CD001 ISO 9660 CD-ROM filesystem data (raw 2352 byte sectors)
  1130. !:mime application/x-iso9660-image
  1131. 32776 string CDROM High Sierra CD-ROM filesystem data
  1132. # cramfs filesystem - russell@coker.com.au
  1133. 0 lelong 0x28cd3d45 Linux Compressed ROM File System data, little endian
  1134. >4 lelong x size %lu
  1135. >8 lelong &1 version #2
  1136. >8 lelong &2 sorted_dirs
  1137. >8 lelong &4 hole_support
  1138. >32 lelong x CRC 0x%x,
  1139. >36 lelong x edition %lu,
  1140. >40 lelong x %lu blocks,
  1141. >44 lelong x %lu files
  1142. 0 belong 0x28cd3d45 Linux Compressed ROM File System data, big endian
  1143. >4 belong x size %lu
  1144. >8 belong &1 version #2
  1145. >8 belong &2 sorted_dirs
  1146. >8 belong &4 hole_support
  1147. >32 belong x CRC 0x%x,
  1148. >36 belong x edition %lu,
  1149. >40 belong x %lu blocks,
  1150. >44 belong x %lu files
  1151. # reiserfs - russell@coker.com.au
  1152. 0x10034 string ReIsErFs ReiserFS V3.5
  1153. 0x10034 string ReIsEr2Fs ReiserFS V3.6
  1154. >0x1002c leshort x block size %d
  1155. >0x10032 leshort &2 (mounted or unclean)
  1156. >0x10000 lelong x num blocks %d
  1157. >0x10040 lelong 1 tea hash
  1158. >0x10040 lelong 2 yura hash
  1159. >0x10040 lelong 3 r5 hash
  1160. # JFFS - russell@coker.com.au
  1161. 0 lelong 0x34383931 Linux Journalled Flash File system, little endian
  1162. 0 belong 0x34383931 Linux Journalled Flash File system, big endian
  1163. # EST flat binary format (which isn't, but anyway)
  1164. # From: Mark Brown <broonie@sirena.org.uk>
  1165. 0 string ESTFBINR EST flat binary
  1166. # Aculab VoIP firmware
  1167. # From: Mark Brown <broonie@sirena.org.uk>
  1168. 0 string VoIP\ Startup\ and Aculab VoIP firmware
  1169. >35 string x format %s
  1170. # u-boot/PPCBoot image file
  1171. # From: Mark Brown <broonie@sirena.org.uk>
  1172. 0 belong 0x27051956 u-boot/PPCBoot image
  1173. >4 string PPCBoot
  1174. >>12 string x version %s
  1175. # JFFS2 file system
  1176. 0 leshort 0x1984 Linux old jffs2 filesystem data little endian
  1177. 0 leshort 0x1985 Linux jffs2 filesystem data little endian
  1178. # Squashfs
  1179. 0 string sqsh Squashfs filesystem, big endian,
  1180. >28 beshort x version %d.
  1181. >30 beshort x \b%d,
  1182. >28 beshort <3
  1183. >>8 belong x %d bytes,
  1184. >28 beshort >2
  1185. >>63 bequad x %lld bytes,
  1186. #>>67 belong x %d bytes,
  1187. >4 belong x %d inodes,
  1188. >28 beshort <2
  1189. >>32 beshort x blocksize: %d bytes,
  1190. >28 beshort >1
  1191. >>51 belong x blocksize: %d bytes,
  1192. >39 bedate x created: %s
  1193. 0 string hsqs Squashfs filesystem, little endian,
  1194. >28 leshort x version %d.
  1195. >30 leshort x \b%d,
  1196. >28 leshort <3
  1197. >>8 lelong x %d bytes,
  1198. >28 leshort >2
  1199. >>63 lequad x %lld bytes,
  1200. #>>63 lelong x %d bytes,
  1201. >4 lelong x %d inodes,
  1202. >28 leshort <2
  1203. >>32 leshort x blocksize: %d bytes,
  1204. >28 leshort >1
  1205. >>51 lelong x blocksize: %d bytes,
  1206. >39 ledate x created: %s
  1207. 0 string td\000 floppy image data (TeleDisk)
  1208. # AFS Dump Magic
  1209. # From: Ty Sarna <tsarna@sarna.org>
  1210. 0 string \x01\xb3\xa1\x13\x22 AFS Dump
  1211. >&0 belong x (v%d)
  1212. >>&0 byte 0x76
  1213. >>>&0 belong x Vol %d,
  1214. >>>>&0 byte 0x6e
  1215. >>>>>&0 string x %s
  1216. >>>>>>&1 byte 0x74
  1217. >>>>>>>&0 beshort 2
  1218. >>>>>>>>&4 bedate x on: %s
  1219. >>>>>>>>&0 bedate =0 full dump
  1220. >>>>>>>>&0 bedate !0 incremental since: %s
  1221. #----------------------------------------------------------
  1222. # VMS backup savesets - gerardo.cacciari@gmail.com
  1223. #
  1224. 4 string \x01\x00\x01\x00\x01\x00
  1225. >(0.s+16) string \x01\x01
  1226. >>&(&0.b+8) byte 0x42 OpenVMS backup saveset data
  1227. >>>40 lelong x (block size %d,
  1228. >>>49 string >\0 original name '%s',
  1229. >>>2 short 1024 VAX generated)
  1230. >>>2 short 2048 AXP generated)
  1231. >>>2 short 4096 I64 generated)
  1232. # Summary: Oracle Clustered Filesystem
  1233. # Created by: Aaron Botsis <redhat@digitalmafia.org>
  1234. 8 string OracleCFS Oracle Clustered Filesystem,
  1235. >4 long x rev %d
  1236. >0 long x \b.%d,
  1237. >560 string x label: %.64s,
  1238. >136 string x mountpoint: %.128s
  1239. # Summary: Oracle ASM tagged volume
  1240. # Created by: Aaron Botsis <redhat@digitalmafia.org>
  1241. 32 string ORCLDISK Oracle ASM Volume,
  1242. >40 string x Disk Name: %0.12s
  1243. 32 string ORCLCLRD Oracle ASM Volume (cleared),
  1244. >40 string x Disk Name: %0.12s
  1245. # Oracle Clustered Filesystem - Aaron Botsis <redhat@digitalmafia.org>
  1246. 8 string OracleCFS Oracle Clustered Filesystem,
  1247. >4 long x rev %d
  1248. >0 long x \b.%d,
  1249. >560 string x label: %.64s,
  1250. >136 string x mountpoint: %.128s
  1251. # Oracle ASM tagged volume - Aaron Botsis <redhat@digitalmafia.org>
  1252. 32 string ORCLDISK Oracle ASM Volume,
  1253. >40 string x Disk Name: %0.12s
  1254. 32 string ORCLCLRD Oracle ASM Volume (cleared),
  1255. >40 string x Disk Name: %0.12s
  1256. # Compaq/HP RILOE floppy image
  1257. # From: Dirk Jagdmann <doj@cubic.org>
  1258. 0 string CPQRFBLO Compaq/HP RILOE floppy image
  1259. #------------------------------------------------------------------------------
  1260. # Files-11 On-Disk Structure (OpenVMS file system) - gerardo.cacciari@gmail.com
  1261. # These bits come from LBN 1 (home block) of ODS-2 and ODS-5 volumes, which is
  1262. # mapped to VBN 2 of [000000]INDEXF.SYS;1
  1263. #
  1264. 1008 string DECFILE11B Files-11 On-Disk Structure
  1265. >525 byte x Level %d
  1266. >525 byte x (ODS-%d OpenVMS file system),
  1267. >984 string x volume label is '%-12.12s'
  1268. # From: Thomas Klausner <wiz@NetBSD.org>
  1269. # http://filext.com/file-extension/DAA
  1270. # describes the daa file format. The magic would be:
  1271. 0 string DAA\x0\x0\x0\x0\x0 PowerISO Direct-Access-Archive
  1272. # From Albert Cahalan <acahalan@gmail.com>
  1273. # really le32 operation,destination,payloadsize (but quite predictable)
  1274. # 01 00 00 00 00 00 00 c0 00 02 00 00
  1275. 0 string \1\0\0\0\0\0\0\300\0\2\0\0 Marvell Libertas firmware
  1276. # From Eric Sandeen
  1277. # GFS2
  1278. 0x10000 belong 0x01161970 GFS2 Filesystem
  1279. >0x10024 belong x (blocksize %d,
  1280. >0x10060 string >\0 lockproto %s)
  1281. # dvdisaster's .ecc
  1282. # From: "Nelson A. de Oliveira" <naoliv@gmail.com>
  1283. 0 string *dvdisaster* dvdisaster error correction file