filesystems 47 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261
  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@turbolabs.com>
  1013. 0x438 leshort 0xEF53 Linux
  1014. >0x44c lelong x rev %d
  1015. >0x43e leshort x \b.%d
  1016. >0x45c lelong ^0x0000004 ext2 filesystem data
  1017. >>0x43a leshort ^0x0000001 (mounted or unclean)
  1018. >0x45c lelong &0x0000004 ext3 filesystem data
  1019. >>0x460 lelong &0x0000004 (needs journal recovery)
  1020. >0x43a leshort &0x0000002 (errors)
  1021. >0x460 lelong &0x0000001 (compressed)
  1022. #>0x460 lelong &0x0000002 (filetype)
  1023. #>0x464 lelong &0x0000001 (sparse_super)
  1024. >0x464 lelong &0x0000002 (large files)
  1025. # SGI disk labels - Nathan Scott <nathans@debian.org>
  1026. 0 belong 0x0BE5A941 SGI disk label (volume header)
  1027. # SGI XFS filesystem - Nathan Scott <nathans@debian.org>
  1028. 0 belong 0x58465342 SGI XFS filesystem data
  1029. >0x4 belong x (blksz %d,
  1030. >0x68 beshort x inosz %d,
  1031. >0x64 beshort ^0x2004 v1 dirs)
  1032. >0x64 beshort &0x2004 v2 dirs)
  1033. ############################################################################
  1034. # Minix-ST kernel floppy
  1035. 0x800 belong 0x46fc2700 Atari-ST Minix kernel image
  1036. >19 string \240\5\371\5\0\011\0\2\0 \b, 720k floppy
  1037. >19 string \320\2\370\5\0\011\0\1\0 \b, 360k floppy
  1038. ############################################################################
  1039. # Hmmm, is this a better way of detecting _standard_ floppy images ?
  1040. 19 string \320\2\360\3\0\011\0\1\0 DOS floppy 360k
  1041. >0x1FE leshort 0xAA55 \b, x86 hard disk boot sector
  1042. 19 string \240\5\371\3\0\011\0\2\0 DOS floppy 720k
  1043. >0x1FE leshort 0xAA55 \b, x86 hard disk boot sector
  1044. 19 string \100\013\360\011\0\022\0\2\0 DOS floppy 1440k
  1045. >0x1FE leshort 0xAA55 \b, x86 hard disk boot sector
  1046. 19 string \240\5\371\5\0\011\0\2\0 DOS floppy 720k, IBM
  1047. >0x1FE leshort 0xAA55 \b, x86 hard disk boot sector
  1048. 19 string \100\013\371\5\0\011\0\2\0 DOS floppy 1440k, mkdosfs
  1049. >0x1FE leshort 0xAA55 \b, x86 hard disk boot sector
  1050. 19 string \320\2\370\5\0\011\0\1\0 Atari-ST floppy 360k
  1051. 19 string \240\5\371\5\0\011\0\2\0 Atari-ST floppy 720k
  1052. # Valid media descriptor bytes for MS-DOS:
  1053. #
  1054. # Byte Capacity Media Size and Type
  1055. # -------------------------------------------------
  1056. #
  1057. # F0 2.88 MB 3.5-inch, 2-sided, 36-sector
  1058. # F0 1.44 MB 3.5-inch, 2-sided, 18-sector
  1059. # F9 720K 3.5-inch, 2-sided, 9-sector
  1060. # F9 1.2 MB 5.25-inch, 2-sided, 15-sector
  1061. # FD 360K 5.25-inch, 2-sided, 9-sector
  1062. # FF 320K 5.25-inch, 2-sided, 8-sector
  1063. # FC 180K 5.25-inch, 1-sided, 9-sector
  1064. # FE 160K 5.25-inch, 1-sided, 8-sector
  1065. # FE 250K 8-inch, 1-sided, single-density
  1066. # FD 500K 8-inch, 2-sided, single-density
  1067. # FE 1.2 MB 8-inch, 2-sided, double-density
  1068. # F8 ----- Fixed disk
  1069. #
  1070. # FC xxxK Apricot 70x1x9 boot disk.
  1071. #
  1072. # Originally a bitmap:
  1073. # xxxxxxx0 Not two sided
  1074. # xxxxxxx1 Double sided
  1075. # xxxxxx0x Not 8 SPT
  1076. # xxxxxx1x 8 SPT
  1077. # xxxxx0xx Not Removable drive
  1078. # xxxxx1xx Removable drive
  1079. # 11111xxx Must be one.
  1080. #
  1081. # But now it's rather random:
  1082. # 111111xx Low density disk
  1083. # 00 SS, Not 8 SPT
  1084. # 01 DS, Not 8 SPT
  1085. # 10 SS, 8 SPT
  1086. # 11 DS, 8 SPT
  1087. #
  1088. # 11111001 Double density 3½ floppy disk, high density 5¼
  1089. # 11110000 High density 3½ floppy disk
  1090. # 11111000 Hard disk any format
  1091. #
  1092. # CDROM Filesystems
  1093. # Modified for UDF by gerardo.cacciari@gmail.com
  1094. 32769 string CD001
  1095. >38913 string !NSR0 ISO 9660 CD-ROM filesystem data
  1096. >38913 string NSR0 UDF filesystem data
  1097. >>38917 string 1 (version 1.0)
  1098. >>38917 string 2 (version 1.5)
  1099. >>38917 string 3 (version 2.0)
  1100. >>38917 byte >0x33 (unknown version, ID 0x%X)
  1101. >>38917 byte <0x31 (unknown version, ID 0x%X)
  1102. # "application id" which appears to be used as a volume label
  1103. >32808 string >\0 '%s'
  1104. >34816 string \000CD001\001EL\ TORITO\ SPECIFICATION (bootable)
  1105. 37633 string CD001 ISO 9660 CD-ROM filesystem data (raw 2352 byte sectors)
  1106. 32776 string CDROM High Sierra CD-ROM filesystem data
  1107. # cramfs filesystem - russell@coker.com.au
  1108. 0 lelong 0x28cd3d45 Linux Compressed ROM File System data, little endian
  1109. >4 lelong x size %d
  1110. >8 lelong &1 version #2
  1111. >8 lelong &2 sorted_dirs
  1112. >8 lelong &4 hole_support
  1113. >32 lelong x CRC 0x%x,
  1114. >36 lelong x edition %d,
  1115. >40 lelong x %d blocks,
  1116. >44 lelong x %d files
  1117. 0 belong 0x28cd3d45 Linux Compressed ROM File System data, big endian
  1118. >4 belong x size %d
  1119. >8 belong &1 version #2
  1120. >8 belong &2 sorted_dirs
  1121. >8 belong &4 hole_support
  1122. >32 belong x CRC 0x%x,
  1123. >36 belong x edition %d,
  1124. >40 belong x %d blocks,
  1125. >44 belong x %d files
  1126. # reiserfs - russell@coker.com.au
  1127. 0x10034 string ReIsErFs ReiserFS V3.5
  1128. 0x10034 string ReIsEr2Fs ReiserFS V3.6
  1129. >0x1002c leshort x block size %d
  1130. >0x10032 leshort &2 (mounted or unclean)
  1131. >0x10000 lelong x num blocks %d
  1132. >0x10040 lelong 1 tea hash
  1133. >0x10040 lelong 2 yura hash
  1134. >0x10040 lelong 3 r5 hash
  1135. # JFFS - russell@coker.com.au
  1136. 0 lelong 0x34383931 Linux Journalled Flash File system, little endian
  1137. 0 belong 0x34383931 Linux Journalled Flash File system, big endian
  1138. # EST flat binary format (which isn't, but anyway)
  1139. # From: Mark Brown <broonie@sirena.org.uk>
  1140. 0 string ESTFBINR EST flat binary
  1141. # Aculab VoIP firmware
  1142. # From: Mark Brown <broonie@sirena.org.uk>
  1143. 0 string VoIP\ Startup\ and Aculab VoIP firmware
  1144. >35 string x format %s
  1145. # u-boot/PPCBoot image file
  1146. # From: Mark Brown <broonie@sirena.org.uk>
  1147. 0 belong 0x27051956 u-boot/PPCBoot image
  1148. >4 string PPCBoot
  1149. >>12 string x version %s
  1150. # JFFS2 file system
  1151. 0 leshort 0x1984 Linux old jffs2 filesystem data little endian
  1152. 0 leshort 0x1985 Linux jffs2 filesystem data little endian
  1153. # Squashfs
  1154. 0 string sqsh Squashfs filesystem, big endian,
  1155. >28 beshort x version %d.
  1156. >30 beshort x \b%d,
  1157. >28 beshort <3
  1158. >>8 belong x %d bytes,
  1159. >28 beshort >2
  1160. >>63 bequad x %lld bytes,
  1161. #>>67 belong x %d bytes,
  1162. >4 belong x %d inodes,
  1163. >28 beshort <2
  1164. >>32 beshort x blocksize: %d bytes,
  1165. >28 beshort >1
  1166. >>51 belong x blocksize: %d bytes,
  1167. >39 bedate x created: %s
  1168. 0 string hsqs Squashfs filesystem, little endian,
  1169. >28 leshort x version %d.
  1170. >30 leshort x \b%d,
  1171. >28 leshort <3
  1172. >>8 lelong x %d bytes,
  1173. >28 leshort >2
  1174. >>63 lequad x %lld bytes,
  1175. #>>63 lelong x %d bytes,
  1176. >4 lelong x %d inodes,
  1177. >28 leshort <2
  1178. >>32 leshort x blocksize: %d bytes,
  1179. >28 leshort >1
  1180. >>51 lelong x blocksize: %d bytes,
  1181. >39 ledate x created: %s
  1182. 0 string td\000 floppy image data (TeleDisk)
  1183. # AFS Dump Magic
  1184. # From: Ty Sarna <tsarna@sarna.org>
  1185. 0 string \x01\xb3\xa1\x13\x22 AFS Dump
  1186. >&0 belong x (v%d)
  1187. >>&0 byte 0x76
  1188. >>>&0 belong x Vol %d,
  1189. >>>>&0 byte 0x6e
  1190. >>>>>&0 string x %s
  1191. >>>>>>&1 byte 0x74
  1192. >>>>>>>&0 beshort 2
  1193. >>>>>>>>&4 bedate x on: %s
  1194. >>>>>>>>&0 bedate =0 full dump
  1195. >>>>>>>>&0 bedate !0 incremental since: %s
  1196. #----------------------------------------------------------
  1197. # VMS backup savesets - gerardo.cacciari@gmail.com
  1198. #
  1199. 4 string \x01\x00\x01\x00\x01\x00
  1200. >(0.s+16) string \x01\x01
  1201. >>&(&0.b+8) byte 0x42 OpenVMS backup saveset data
  1202. >>>40 lelong x (block size %d,
  1203. >>>49 string >\0 original name '%s',
  1204. >>>2 short 1024 VAX generated)
  1205. >>>2 short 2048 AXP generated)
  1206. >>>2 short 4096 I64 generated)
  1207. # Compaq/HP RILOE floppy image
  1208. # From: Dirk Jagdmann <doj@cubic.org>
  1209. 0 string CPQRFBLO Compaq/HP RILOE floppy image
  1210. #------------------------------------------------------------------------------
  1211. # Files-11 On-Disk Structure (OpenVMS file system) - gerardo.cacciari@gmail.com
  1212. # These bits come from LBN 1 (home block) of ODS-2 and ODS-5 volumes, which is
  1213. # mapped to VBN 2 of [000000]INDEXF.SYS;1
  1214. #
  1215. 1008 string DECFILE11B Files-11 On-Disk Structure
  1216. >525 byte x Level %d
  1217. >525 byte x (ODS-%d OpenVMS file system),
  1218. >984 string x volume label is '%-12.12s'
  1219. # From: Thomas Klausner <wiz@NetBSD.org>
  1220. # http://filext.com/file-extension/DAA
  1221. # describes the daa file format. The magic would be:
  1222. 0 string DAA\x0\x0\x0\x0\x0 PowerISO Direct-Access-Archive