filesystems 52 KB

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