Lines Matching +full:hfs +full:- +full:boot +full:. +full:bz2
1 #------------------------------------------------------------------------------
7 >0 ubyte 0x01 12-bit FAT
10 >0 ubyte 0x04 16-bit FAT, less than 32M
12 >0 ubyte 0x06 16-bit FAT, more than 32M
13 >0 ubyte 0x07 OS/2 HPFS, NTFS, QNX2, Adv. UNIX
14 >0 ubyte 0x08 AIX or os, or etc.
15 >0 ubyte 0x09 AIX boot partition or Coherent
16 >0 ubyte 0x0a O/2 boot manager or Coherent swap
17 >0 ubyte 0x0b 32-bit FAT
18 >0 ubyte 0x0c 32-bit FAT, LBA-mapped
19 >0 ubyte 0x0d 7XXX, LBA-mapped
20 >0 ubyte 0x0e 16-bit FAT, LBA-mapped
21 >0 ubyte 0x0f extended partition, LBA-mapped
23 >0 ubyte 0x11 OS/2 DOS 12-bit FAT
25 >0 ubyte 0x14 OS/2 DOS 16-bit FAT <32M
26 >0 ubyte 0x16 OS/2 DOS 16-bit FAT >=32M
55 >0 ubyte 0x45 Boot US Boot manager
61 >0 ubyte 0x4d QNX4.x
62 >0 ubyte 0x4e QNX4.x 2nd part
63 >0 ubyte 0x4f QNX4.x 3rd part
69 >0 ubyte 0x55 EZ-Drive (disk manager)
75 >0 ubyte 0x64 Novell Netware 2.xx or Speedstore
76 >0 ubyte 0x65 Novell Netware 3.xx
81 >0 ubyte 0x70 DiskSecure Multi-Boot
88 >0 ubyte 0x78 XOSL boot loader filesystem
97 >0 ubyte 0x8a Linux Kernel AiR-BOOT partition
109 >0 ubyte 0x98 Datalight ROM-DOS Super-Boot
124 >0 ubyte 0xab Apple Boot
126 >0 ubyte 0xaf Apple HFS
134 >0 ubyte 0xbb Boot Wizard Hidden
138 >0 ubyte 0xc1 DRDOS/sec (FAT-12)
141 >0 ubyte 0xc4 DRDOS/sec (FAT-16, < 32M)
143 >0 ubyte 0xc6 DRDOS/sec (FAT-16, >= 32M)
145 >0 ubyte 0xc8 Reserved for DR-DOS 8.0+
146 >0 ubyte 0xc9 Reserved for DR-DOS 8.0+
147 >0 ubyte 0xca Reserved for DR-DOS 8.0+
148 >0 ubyte 0xcb DR-DOS 7.04+ Secured FAT32 CHS
149 >0 ubyte 0xcc DR-DOS 7.04+ Secured FAT32 LBA
151 >0 ubyte 0xce DR-DOS 7.04+ FAT16X LBA
152 >0 ubyte 0xcf DR-DOS 7.04+ EXT LBA
164 >0 ubyte 0xe1 DOS access or SpeedStor 12-bit
166 >0 ubyte 0xe4 SpeedStor 16-bit FAT < 1024 cyl.
172 >0 ubyte 0xf0 Linux PA-RISC boot loader
177 >0 ubyte 0xf5 Prologue multi-volumen partition
189 # From /usr/include/sun/dklabel.h:
192 # succeeds for Cabinet archive dao360.dl_ with negative blocks
209 # Is there a boot block written 1 sector in?
210 >512 belong&077777777 0600407 \b, boot block present
212 # Joerg Jenderek: Smart Boot Manager backup file is 25 (MSDOS) or 41 (LINUX) byte header + first se…
213 # (http://btmgr.sourceforge.net/docs/user-guide-3.html)
214 0 string SBMBAKUP_ Smart Boot Manager backup file
215 >9 string x \b, version %-5.5s
217 >>>15 string x %-.1s
218 >>>>16 string =_ \b.
219 >>>>>17 string x \b%-.1s
220 >>>>>>18 string =_ \b.
221 >>>>>>>19 string x \b%-.1s
227 >>>>&-512 indirect x \b; contains
235 >>>(19.b-1) ubyte 0x0 DOS Emulator image
242 # http://www.thenakedpc.com/articles/v04/08/0408-05.html
243 # Symantec (Peter Norton) Image.dat file consists of variable header, bootrecord, part of FAT and r…
245 # real x86 boot sector with jump instruction
247 >>&-1 indirect x \b; contains
248 # http://file-extension.net/seeker/file_extension_dat
252 # DOS/MBR boot sector updated by Joerg Jenderek at Sep 2007,May 2011,2013
255 # to display DOS/MBR boot sector (40) before old one (strength=50+21),Syslinux bootloader (71),SYSL…
260 >>(11.s-2) uleshort 0xAA55 DOS/MBR boot sector
262 >0x1FE leshort 0xAA55 DOS/MBR boot sector
269 >>>0 ubyte 0xEB DOS/MBR boot sector,
270 >>>0x69 ubyte x ExFAT Filesystem version %d.
276 # keep old DOS/MBR boot sector as dummy for mbr and bootloader displaying
278 0x1FE leshort 0xAA55 DOS/MBR boot sector
283 # added by Joerg Jenderek at Feb 2013 according to https://thestarman.pcministry.com/asm/mbr/
284 # and https://en.wikipedia.org/wiki/Master_Boot_Record
285 # test for nearly all MS-DOS Master Boot Record initial program loader (IPL) is now done by
287 >0 search/2 \x33\xc0\x8e\xd0\xbc\x00\x7c MS-MBR
288 # Microsoft Windows 95A and early ( https://thestarman.pcministry.com/asm/mbr/STDMBR.htm )
291 # https://thestarman.pcministry.com/asm/mbr/200MBR.htm
293 >>>>219 regex Author\ -\ Author:
297 # NEC MS-DOS 3.30 Rev. 3 . See https://thestarman.pcministry.com/asm/mbr/DOS33MBR.htm
300 # version MS-DOS 3.30 til MS-Windows 95A (WinVer=4.00.1111)
301 >>>>0x22 default x \b,D0S version 3.3-7.0
302 # error messages are printed by assembler instructions: mov si,06nn;...;int 10 (0xBEnn06;...)
305 >>>>>(0x49.b) string Invalid\ partition\ table english
306 >>>>>(0x49.b) string Ung\201ltige\ Partitionstabelle german
307 >>>>>(0x49.b) string Table\ de\ partition\ invalide french
308 >>>>>(0x49.b) string Tabela\ de\ parti\207ao\ inv\240lida portuguese
309 >>>>>(0x49.b) string Tabla\ de\ partici\242n\ no\ v\240lida spanish
310 >>>>>(0x49.b) string Tavola\ delle\ partizioni\ non\ valida italian
312 >>>>>>(0x49.b) string >\0 "%s"
320 >>>>>>(0x74.b) string >\0 "%s"
328 >>>>>>(0x79.b) string >\0 "%s"
329 # Microsoft Windows 95B to XP (https://thestarman.pcministry.com/asm/mbr/95BMEMBR.htm)
338 >>>>(0x3C.b+0x0FF) string Invalid\ partition\ table english
339 >>>>(0x3C.b+0x0FF) string Ung\201ltige\ Partitionstabelle german
340 >>>>(0x3C.b+0x0FF) string Table\ de\ partition\ erron\202e french
341 >>>>(0x3C.b+0x0FF) string \215\245\257\340\240\242\250\253\354\255\240\357\ \342\240\241\253\250\34…
343 >>>>(0x3C.b+0x0FF) string >\0 "%s"
349 >>>>(0xBD.b+0x100) string >\0 "%s"
355 >>>>(0xA9.b+0x100) string >\0 "%s"
356 # https://thestarman.pcministry.com/asm/mbr/Win2kmbr.htm
365 >>>>(0x1b5.b+0x100) string >\0 "%s"
369 >>>>(0x1b6.b+0x100) string >\0 "%s"
373 >>>>(0x1b7.b+0x100) string >\0 "%s"
375 # assembler instructions: ..;mov ds,ax;mov si,7c00;mov di,..00
377 # Microsoft Windows Vista (https://thestarman.pcministry.com/asm/mbr/VistaMBR.htm)
386 >>>>(0x1b5.b+0x100) string >\0 "%s"
390 >>>>(0x1b6.b+0x100) string >\0 "%s"
394 >>>>(0x1b7.b+0x100) string >\0 "%s"
395 # Microsoft Windows 7 (https://thestarman.pcministry.com/asm/mbr/W7MBR.htm)
404 >>>>(0x1b5.b+0x100) string >\0 "%s"
408 >>>>(0x1b6.b+0x100) string >\0 "%s"
412 >>>>(0x1b7.b+0x100) string >\0 "%s"
413 # https://thestarman.pcministry.com/asm/mbr/Win2kmbr.htm#DiskSigs
414 # https://en.wikipedia.org/wiki/MBR_disk_signature#ID
415 >>0x1b8 ulelong >0 \b, disk signature %#-.4x
416 # driveID/timestamp for Win 95B,98,98SE and ME. See https://thestarman.pcministry.com/asm/mbr/myste…
419 # physical drive number (0x80-0xFF) when the Windows wrote that byte to the drive
425 # special case for Microsoft MS-DOS 3.21 spanish
429 >>8 ubequad 0x1fbfcb800008ed8 MS-MBR,D0S version 3.21 spanish
432 # dr-dos with some upper-, lowercase variants
435 >>>201 string Operating\ System\ load\ error$ \b, DR-DOS MBR, Version 7.01 to 7.03
438 >>>201 string Operating\ system\ load\ error$ \b, DR-DOS MBR, Version 7.01 to 7.03
441 >>>386 string Operating\ system\ load\ error$ \b, DR-DOS MBR, version 7.01 to 7.03
446 >>>>>329 string Moved\ or\ missing\ IBMBIO.LDR\n\r
447 >>>>>>358 string Press\ any\ key\ to\ continue.\n\r$
449 >>>>>>>>411 string Caldera\ Inc.\0 \b, DR-DOS MBR (IBMBIO.LDR)
451 # tests for different MS-DOS Master Boot Records (MBR) moved and merged
453 #>0x145 string Default:\ F \b, FREE-DOS MBR
454 #>0x14B string Default:\ F \b, FREE-DOS 1.0 MBR
455 >0x145 search/7 Default:\ F \b, FREE-DOS MBR
456 #>>313 string F0\ .\ .\ .
460 >>96 string read\ error\ while\ reading\ drive \b, FREE-DOS Beta 0.9 MBR
461 # Ranish Partition Manager http://www.ranish.com/part/
466 >>>>>416 string Writing\ changes... \b2.37
471 >>>>>416 string !Writing\ changes... \b
480 # https://www.acronis.de/
483 >>>392 string boot\ from\ floppy...\0 \b, Acronis MBR
485 # https://www.visopsys.org/
486 # https://partitionlogic.org.uk/
488 >>339 string I/O\ Error\ reading\ boot\ sector\r \b, Visopsys MBR
490 >>379 string I/O\ Error\ reading\ boot\ sector\r \b, simple Visopsys MBR
495 >>>430 string SBMK\ Bad!\r \b, Smart Boot Manager
496 # OEM-ID not always "SBM"
500 >6 string LILO \b, LInux i386 boot LOader
501 >>120 string LILO \b, version 22.3.4 SuSe
502 >>172 string LILO \b, version 22.5.8 Debian
504 # variables according to grub-0.97/stage1/stage1.S or
505 # https://www.gnu.org/software/grub/manual/grub.html#Embedded-data
511 # 0x3 for 0.5.95,0.93,0.94,0.96 0x4 for 1.90
514 >>>>0x40 ubyte <0xFF \b, boot drive %#x
515 # in most case 0,1,0x2e for GRUB 0.5.95
526 >>>>>394 string stage1 \b, GRUB version 0.5.95
537 >>>>321 string Loading\ stage1.5 \b, GRUB version x.y
539 >>>>374 string GRUB\ \0 \b, GRUB version n.m
542 # http://www.bcdwb.de/bcdw/index_e.htm
548 # skip Linux style boot sector starting with assembler instructions mov 0x7c0,ax;
553 >>>>422 string !Be\ Boot\ Loader
557 >>>>>>(1.b+2) ubequad 0xfa31c08ed88ec08e
558 >>>>>>>446 use partition-table
559 # mbr, Norton Utilities disc image data, or 2nd,etc. sector of x86 bootloader
564 # https://thestarman.pcministry.com/asm/mbr/MSWIN41.htm
570 # allowed active flag 0,80h-FFh
572 >>>>>>>>>>>446 use partition-table
574 >>>>>>>>>>>446 use partition-table
577 # https://www.acronis.de/
579 #OEM-ID=BOOTWIZ0
580 >442 string Non-system\ disk,\040
581 >>459 string press\ any\ key...\x7\0 \b, Acronis Startup Recovery Loader
583 # DOS names like F11.SYS or BOOTWIZ.SYS are 8 right space padded bytes+3 bytes
586 >>>477 use DOS-filename
589 >>204 string \rNo\ Systemdisk.\040
590 >>>220 string Booting\ from\ harddisk.\n\r
591 >>>245 string Cannot\ load\ from\ harddisk.\n\r
593 >>>>>291 string and\ press\ any\ key.\n\r \b, FDBOOT harddisk Bootloader
594 >>>>>>200 string >\0 \b, version %-3s
595 >242 string Bootsector\ from\ C.H.\ Hochst\204
596 # http://freecode.com/projects/dosfstools dosfstools-n.m/src/mkdosfs.c
597 # updated by Joerg Jenderek at Nov 2012. Use search directive with offset instead of string
598 # skip name "C.H. Hochstaetter" partly because it is sometimes written without umlaut
599 >242 search/127 Bootsector\ from\ C.H.\ Hochst
600 >>278 search/127 No\ Systemdisk.\ Booting\ from\ harddisk
601 # followed by variants with point,CR-NL or NL-CR
602 >>>208 search/261 Cannot\ load\ from\ harddisk.
603 # followed by variants CR-NL or NL-CR
604 >>>>236 search/235 Insert\ Systemdisk\ and\ press\ any\ key.
605 # followed by variants with point,CR-NL or NL-CR
607 # followed by string like "6.50 (c) 1993-2004 Gilles Vollant"
608 >>>>>>&0 string x \b, version %-4.4s
609 >(1.b+2) ubyte 0xe
610 >>(1.b+3) ubyte 0x1f
611 >>>(1.b+4) ubyte 0xbe
612 # message offset found at (1.b+5) is 0x77 for FAT32 or 0x5b for others
613 >>>>(1.b+5) ubyte&0xd3 0x53
614 >>>>>(1.b+6) ubyte 0x7c
616 >>>>>>(1.b+7) ubyte 0xac
617 >>>>>>>(1.b+8) ubyte 0x22
618 >>>>>>>>(1.b+9) ubyte 0xc0
619 >>>>>>>>>(1.b+10) ubyte 0x74
620 >>>>>>>>>>(1.b+11) ubyte 0x0b
621 >>>>>>>>>>>(1.b+12) ubyte 0x56
622 >>>>>>>>>>>>(1.b+13) ubyte 0xb4 \b, mkdosfs boot message display
624 >>>>>>>>>>>>>(1.b+5) ubyte 0x5b
625 >>>>>>>>>>>>>>0x5b string >\0 "%-s"
627 >>>>>>>>>>>>>(1.b+5) ubyte 0x77
628 >>>>>>>>>>>>>>0x77 string >\0 "%-s"
629 >214 string Please\ try\ to\ install\ FreeDOS\ \b, DOS Emulator boot message display
630 #>>244 string from\ dosemu-freedos-*-bin.tgz\r
632 #>>>>195 string operating\ system.\r\n
634 >103 string This\ is\ not\ a\ bootable\ disk.\040
637 >>>>169 string press\ any\ key\ to\ try\ again...\r \b, FREE-DOS message display
639 >66 string Solaris\ Boot\ Sector
640 >>99 string Incomplete\ MDBoot\ load.
660 >>>>>>292 string strike\ any\ key...\0 \b, IBM OS/2 Warp message display
667 >>>>>417 string x %-.5s
669 >>>>>>>422 string x \b%-.3s
671 >>>>>>425 string >\ \b.%-.3s
675 >>>>>>368 string x %-.5s
677 >>>>>>>>373 string x \b%-.3s
679 >>>>>>>376 string x \b.%-.3s
685 >>>>>417 string x %-.5s
687 >>>>>>>422 string x \b%-.3s
689 >>>>>>425 string >\ \b.%-.3s
693 >>>>>>368 string x %-.5s
695 >>>>>>>>373 string x \b%-.3s
699 >>>464 string Neustart\ mit\ beliebiger\ Taste\r \b, Microsoft Windows XP Bootloader (2.german)
701 >>>>>417 string x %-.5s
703 >>>>>>>422 string x \b%-.3s
705 >>>>>>425 string >\ \b.%-.3s
709 >>>>>>368 string x %-.5s
711 >>>>>>>>373 string x \b%-.3s
713 >>>>>>>376 string x \b.%-.3s
717 >>>459 string Neustart:\ Taste\ dr\201cken\r \b, Microsoft Windows XP Bootloader (3.german)
720 >>>>>>368 string x %-.5s
722 >>>>>>>>373 string x \b%-.3s
724 >>>>>>>376 string x \b.%-.3s
727 >>>>>417 string x %-.5s
729 >>>>>>>422 string x \b%-.3s
731 >>>>>>425 string >\ \b.%-.3s
735 >>>469 string Neustart:\ Taste\ dr\201cken\r \b, Microsoft Windows XP Bootloader (4.german)
738 >>>>>>368 string x %-.5s
740 >>>>>>>>373 string x \b%-.3s
742 >>>>>>>376 string x \b.%-.3s
745 >>>>>417 string x %-.5s
747 >>>>>>>422 string x \b%-.3s
749 >>>>>>425 string >\ \b.%-.3s
759 >313 string A\ disk\ read\ error\ occurred.\r
761 >>>370 string from\ the\ disk.\r
764 >>>>>>454 string and\ restart\r\nthe\ system.\r \b, Microsoft Windows XP Bootloader NTFS
771 #IO.SYS
773 >>>>>>>472 string x \b %-.2s
775 >>>>>>>>>474 string x \b%-.5s
777 >>>>>>>>>>>479 string x \b%-.1s
779 >>>>>>>>480 string x \b.%-.3s
780 #MSDOS.SYS
782 >>>>>>>>483 string x \b%-.5s
784 >>>>>>>>>>488 string x \b%-.3s
786 >>>>>>>>>491 string x \b.%-.3s
793 >>>410 string E/A-Fehler\ \ \ \ \xFF\r\n
796 #WINBOOT.SYS only not spaces (0xDF)
798 >>>>>>>497 string x %-.5s
800 >>>>>>>>>502 string x \b%-.1s
802 >>>>>>>>>>>503 string x \b%-.1s
804 >>>>>>>>>>>>>504 string x \b%-.1s
806 >>>>>>>505 string x \b.%-.3s
807 #IO.SYS
809 >>>>>>>472 string x \b %-.2s
811 >>>>>>>>>474 string x \b%-.5s
813 >>>>>>>>>>>479 string x \b%-.1s
815 >>>>>>>>480 string x \b.%-.3s
816 #MSDOS.SYS
818 >>>>>>>>483 string x \b%-.5s
820 >>>>>>>>>>488 string x \b%-.3s
822 >>>>>>>>>491 string x \b.%-.3s
825 >>>412 string E/A-Fehler\ \ \ \ \xFF\r\n
828 #WINBOOT.SYS only not spaces (0xDF)
830 >>>>>>>497 string x %-.7s
832 >>>>>>>>>504 string x \b%-.1s
834 >>>>>>>505 string x \b.%-.3s
835 #IO.SYS
837 >>>>>>>472 string x \b %-.2s
839 >>>>>>>>>474 string x \b%-.6s
841 >>>>>>>>480 string x \b.%-.3s
842 #MSDOS.SYS
844 >>>>>>>>483 string x \b%-.5s
846 >>>>>>>>>>488 string x \b%-.3s
848 >>>>>>>>>491 string x \b.%-.3s
851 >>>411 string E/A-Fehler\ \ \ \ \xFF\r\n
854 # DOS names like IO.SYS,WINBOOT.SYS,MSDOS.SYS,WINBOOT.INI are 8 right space padded bytes+3 bytes
855 >>>>>>472 string x %-.2s
857 >>>>>>>>474 string x \b%-.5s
859 >>>>>>>>>479 string x \b%-.1s
861 >>>>>>>480 string x \b.%-.3s
863 >>>>>>>483 string x \b%-.5s
865 >>>>>>>>488 string x \b%-.2s
867 >>>>>>>>>490 string x \b%-.1s
869 >>>>>>>>491 string x \b.%-.3s
874 #IO.SYS
875 >>>>>479 string x \b %-.2s
877 >>>>>>>481 string x \b%-.6s
879 >>>>>>487 string x \b.%-.3s
880 #MSDOS.SYS
882 >>>>>>>490 string x \b%-.5s
884 >>>>>>>>>495 string x \b%-.3s
886 >>>>>>>>498 string x \b.%-.3s
888 >376 search/41 Non-System\ disk\ or\040
893 >>>>426 search/41 any\ key\ when\ ready\r MS or PC-DOS bootloader
894 #449 Disk\ Boot\ failure\r MS 3.21
895 #466 Boot\ Failure\r MS 3.30
897 #IO.SYS,IBMBIO.COM
898 >>>>>>&0 string x \b %-.2s
899 >>>>>>>&-20 ubyte&0xDF >0
900 >>>>>>>>&-1 string x \b%-.4s
901 >>>>>>>>>&-16 ubyte&0xDF >0
902 >>>>>>>>>>&-1 string x \b%-.2s
903 >>>>>>&8 ubyte&0xDF >0 \b.
904 >>>>>>>&-1 string x \b%-.3s
905 #MSDOS.SYS,IBMDOS.COM
907 >>>>>>>&-1 string x \b%-.5s
908 >>>>>>>>&-6 ubyte&0xDF >0
909 >>>>>>>>>&-1 string x \b%-.1s
910 >>>>>>>>>>&-5 ubyte&0xDF >0
911 >>>>>>>>>>>&-1 string x \b%-.2s
912 >>>>>>>&7 ubyte&0xDF >0 \b.
913 >>>>>>>>&-1 string x \b%-.3s
914 >441 string Cannot\ load\ from\ harddisk.\n\r
916 >>>487 string and\ press\ any\ key.\n\r \b, MS (2.11) DOS bootloader
917 #>43 string \224R-LOADER\ \ SYS =label
920 >>>495 string NEWLDR\0 \b, DR-DOS Bootloader (LOADER.SYS)
925 >>>>156 string Loading\ ...\0 \b, DR-DOS (3.41) Bootloader
926 #DRBIOS.SYS
928 >>>>>>44 string x \b %-.6s
930 >>>>>>>>50 string x \b%-.2s
932 >>>>>>>52 string x \b.%-.3s
936 >>>489 string Any\ key\ to\ retry \b, DR-DOS Bootloader
938 >>487 string press\ key\ to\ retry \b, Open-DOS Bootloader
941 >>314 string BOOT\ error! \b, FREE-DOS Bootloader
943 >>305 string BOOT\ err!\0 \b, Free-DOS Bootloader
945 >>319 string BOOT\ error! \b, FREE-DOS 0.5 Bootloader
948 >>0x1AF ulelong >0 \b, FREE-DOS 0.95,1.0 Bootloader
950 >>>>497 string x \b %-.6s
952 >>>>>>503 string x \b%-.1s
954 >>>>>>>>504 string x \b%-.1s
956 >>>>>505 string x \b.%-.3s
958 >331 string Error!.0 \b, FREE-DOS 1.0 bootloader
960 >125 string Loading\ FreeDOS...\r
961 >>311 string BOOT\ error!\r \b, FREE-DOS bootloader
963 >>>>441 string x \b %-.6s
965 >>>>>>447 string x \b%-.1s
967 >>>>>>>>448 string x \b%-.1s
969 >>>>>449 string x \b.%-.3s
971 >>331 string \ err\0 \b, FREE-DOS BETa 0.9 Bootloader
972 # DOS names like KERNEL.SYS,KERNEL16.SYS,KERNEL32.SYS,METAKERN.SYS are 8 right space padded bytes+3…
974 >>>>497 string x \b %-.6s
976 >>>>>>503 string x \b%-.1s
978 >>>>>>>>504 string x \b%-.1s
980 >>>>>505 string x \b.%-.3s
981 >>333 string \ err\0 \b, FREE-DOS BEta 0.9 Bootloader
983 >>>>497 string x \b %-.6s
985 >>>>>>503 string x \b%-.1s
987 >>>>>>>>504 string x \b%-.1s
989 >>>>>505 string x \b.%-.3s
990 >>334 string \ err\0 \b, FREE-DOS Beta 0.9 Bootloader
992 >>>>497 string x \b %-.6s
994 >>>>>>503 string x \b%-.1s
996 >>>>>>>>504 string x \b%-.1s
998 >>>>>505 string x \b.%-.3s
1000 >>343 string Hit\ a\ key\ to\ reboot. \b, FREE-DOS Beta 0.9sr1 Bootloader
1002 >>>>497 string x \b %-.6s
1004 >>>>>>503 string x \b%-.1s
1006 >>>>>>>>504 string x \b%-.1s
1008 >>>>>505 string x \b.%-.3s
1010 # https://www.visopsys.org/
1011 # https://partitionlogic.org.uk/
1012 # OEM-ID=Visopsys
1014 >>(1.b+326) string I/O\ Error\ reading\040
1015 >>>(1.b+344) string Visopsys\ loader\r
1016 >>>>(1.b+361) string Press\ any\ key\ to\ continue.\r \b, Visopsys loader
1017 # http://alexfru.chat.ru/epm.html#bootprog
1021 #OEM-ID is not reliable
1024 # and loads corresponding file with following execution.
1025 # DOS names like STARTUP.BIN,STARTUPC.COM,STARTUPE.EXE are 8 right space padded bytes+3 bytes
1027 >>>>>499 use DOS-filename
1028 #If the boot sector fails to read any other sector,
1029 #it prints a very short message ("RE") to the screen and hangs the computer.
1030 #If the boot sector fails to find needed program in the root directory,
1031 #it also hangs with another message ("NF").
1034 #If the boot sector fails to read any other sector,
1035 #it prints a very short message ("RE") to the screen and hangs the computer.
1038 …y Joerg Jenderek at Feb 2013 according to https://thestarman.pcministry.com/asm/mbr/MSWIN41.htm#FS…
1039 # and https://en.wikipedia.org/wiki/File_Allocation_Table#FS_Information_Sector
1061 # DOS x86 sector separated and moved from "DOS/MBR boot sector" by Joerg Jenderek at May 2011
1067 # like IO.SYS. MSDOS.SYS , KERNEL.SYS , DRBIO.SYS
1068 0 name DOS-filename
1087 >>8 ubyte&0xDF >0 \b.
1094 # like IO.SYS+MSDOS.SYS or ibmbio.com+ibmdos.com
1095 0 name 2xDOS-filename
1098 >0 use DOS-filename
1100 >11 use DOS-filename
1102 # https://en.wikipedia.org/wiki/Master_boot_record#PTE
1104 0 name partition-table
1105 #>0 ubyte x PARTITION-TABLE
1107 >0 use partition-entry-test
1108 >16 use partition-entry-test
1109 >32 use partition-entry-test
1110 >48 use partition-entry-test
1112 0 name partition-entry-test
1117 >>>0 use partition-entry
1118 # active flag 0x80, 0x81, ...
1120 >>>0 use partition-entry
1122 0 name partition-entry
1132 >>1 ubyte x \b, start-CHS (
1133 >>1 use partition-chs
1134 >>5 ubyte x \b), end-CHS (
1135 >>5 use partition-chs
1139 0 name partition-chs
1154 # romfs filesystems - Juan Cespedes <cespedes@debian.org>
1155 0 string -rom1fs- romfs filesystem, version 1
1157 >16 string x named %s.
1159 # netboot image - Juan Cespedes <cespedes@debian.org>
1166 0x18b string OS/2 OS/2 Boot Manager
1169 # https://syslinux.zytor.com/iso.php
1174 >>&0 string x (version %-4.4s)
1175 # https://syslinux.zytor.com/pxe.php
1182 # https://syslinux.zytor.com/wiki/index.php/SYSLINUX
1184 >12 string x (older version %-4.4s)
1186 >11 string x (version %-4.4s)
1187 # syslinux updated and separated from "DOS/MBR boot sector" by Joerg Jenderek at Sep 2012
1190 # OEM-ID not always "SYSLINUX"
1191 >434 search/47 Boot\ failed
1194 >>1 ubyte 0x58 Syslinux bootloader (version 3.0-3.9)
1195 >459 search/30 Boot\ error\r\n\0
1197 # SYSLINUX MBR updated and separated from "DOS/MBR boot sector" by Joerg Jenderek at Sep 2012
1200 # to display SYSLINUX MBR (36) before old DOS/MBR boot sector one with partition table (strength=50…
1203 # followed by \r for versions older 3.35 , .\r for versions newer 3.52 and point for other
1211 >>>>>&0 string .\r (version 3.52 or newer)
1212 >>>>>&0 default x (version 3.36-3.51 )
1213 >368 search/106 \0Disk\ error\ on\ boot\r\n SYSLINUX GPT-MBR
1214 >>156 search/10 \0Boot\ partition\ not\ found\r\n
1220 # NetBSD mbr variants (master-boot-code version 1.22) added by Joerg Jenderek at Nov 2012
1228 # NT Drive Serial Number https://thestarman.pcministry.com/asm/mbr/Win2kmbr.htm#DS
1229 >>>0x1B8 ubelong >0 \b,Serial %#-.8x
1234 …1 \x66\x87\xca\x66\x01\xca\x66\x89\x16\x3a\x07\xbe\x32\x07\xb4\x42\x5a\x52\xcd\x13 \b,boot extended
1244 >>>0xa4 search/84 \xbb\xaa\x55\xb4\x41\x5a\x52\xcd\x13 \b,LBA-check
1248 >>>>&-9 ubequad&0xBE00f0E800febb94 0xBE0000E80000bb94
1250 # "a: disk" , "Fn: diskn" or "NetBSD MBR boot"
1252 >>>446 use partition-table
1253 # Andrea Mazzoleni AdvanceCD mbr loader of http://advancemame.sourceforge.net/boot-readme.html
1254 # added by Joerg Jenderek at Nov 2012 for versions 1.3 - 1.4
1258 >(1.b+2) ubequad 0xfa31c08ed88ec08e
1264 # Neil Turton mbr loader variant of https://www.chiark.greenend.org.uk/~neilt/mbr/
1265 # added by Joerg Jenderek at Mar 2011 for versions 1.0.0 - 1.1.11
1270 >(0x1BC.s) string NDTmbr
1271 >>&-14 string 1234F\0 Turton mbr (
1272 # parameters also viewed by install-mbr --list
1273 >>>(0x1BC.s+7) ubyte x \b%u<=
1274 >>>(0x1BC.s+9) ubyte x \bVersion<=%u
1275 #>>>(0x1BC.s+8) ubyte x asm_flag_%x
1276 >>>(0x1BC.s+8) ubyte&1 1 \b,Y2K-Fix
1277 # variant used by testdisk of https://www.cgsecurity.org/wiki/Menu_MBRCode
1278 >>>(0x1BC.s+8) ubyte&2 2 \b,TestDisk
1279 #0x1~1,..,0x8~4,0x10~F,0x80~A enabled
1280 #>>>(0x1BC.s+10) ubyte x \b,flags %#x
1281 #0x0~1,0x1~2,...,0x3~4,0x4~F,0x7~D default boot
1282 #>>>(0x1BC.s+11) ubyte x \b,cfg_def %#x
1284 >>>(0x1BC.s+9) ubyte <2
1285 #>>>>(0x1BC.s+12) ubyte 18 \b,%u/18 seconds
1286 >>>>(0x1BC.s+12) ubyte !18 \b,%u/18 seconds
1288 >>>>(0x1BC.s+13) ubyte <2 \b,floppy %#x
1289 >>>>(0x1BC.s+13) ubyte >1
1291 #>>>>>(0x1BC.s+13) ubyte 0x80 \b,drive %#x
1293 >>>>>(0x1BC.s+13) ubyte !0x80 \b,drive %#x
1295 >>>(0x1BC.s+9) ubyte >1
1296 #>>>>(0x1BC.s+12) uleshort 18 \b,%u/18 seconds
1297 >>>>(0x1BC.s+12) uleshort !18 \b,%u/18 seconds
1299 >>>>(0x1BC.s+14) ubyte <2 \b,floppy %#x
1300 >>>>(0x1BC.s+14) ubyte >1
1302 #>>>>>(0x1BC.s+14) ubyte 0x80 \b,drive %#x
1304 >>>>>(0x1BC.s+14) ubyte !0x80 \b,drive %#x
1308 # In the second sector (+0x200) are variables according to grub-0.97/stage2/asm.S or
1309 # grub-1.94/kern/i386/pc/startup.S
1310 # https://www.gnu.org/software/grub/manual/grub.html#Embedded-data
1313 # found only version 3.{1,2}
1315 # GRUB version (0.5.)95,0.93,0.94,0.96,0.97 > "00"
1321 # config_file for stage1_5 is 0xffffffff + default "/boot/grub/stage2"
1325 >>>>0x207 ubyte x \b.%u
1330 # GRUB 0.5.95 unofficial
1337 >>>>>0x20E string >\0 \b, GRUB version %-s
1338 # for stage1_5 is 0xffffffff + config_file "/boot/grub/stage2" default
1340 >>>>>>>0x219 string >\0 \b, configuration file %-s
1342 >>>>>>>0x215 string >\0 \b, configuration file %-s
1355 >>>>>0x212 string >\0 \b, GRUB version %-s
1356 # for stage1_5 is 0xffffffff + config_file "/boot/grub/stage2" default
1358 >>>>>>0x21b string >\0 \b, configuration file %-s
1360 >>>>>>0x217 string >\0 \b, configuration file %-s
1362 # DOS x86 sector updated and separated from "DOS/MBR boot sector" by Joerg Jenderek at May 2011
1365 # https://thestarman.pcministry.com/asm/2bytejumps.htm#FWD
1369 # OEM-ID is empty or contain readable bytes
1372 # mtools-3.9.8/msdos.h
1379 >>>>>0 ubyte 0xEB DOS/MBR boot sector
1383 >>>>>3 string >\0 \b, OEM-ID "%-.8s"
1384 #http://mirror.href.com/thestarman/asm/debug/debug2.htm#IHC
1418 # https://en.wikipedia.org/wiki/Design_of_the_FAT_file_system#Extended_BIOS_Parameter_Block
1420 # and continue for extended boot signature values 0,28h,29h,80h
1432 # VGA-copy CRC or
1433 # in Windows NT bit 0 is a dirty flag to request chkdsk at boot time. bit 1 requests surface scan t…
1436 # extended boot signature value is 0x80 for NTFS, 0x28 or 0x29 for others
1445 # a word like "FATnm " is only a hint for a FAT size on nm-bits
1446 # Normally the number of clusters is calculated by the values of BPP.
1448 # otherwise FAT is 16 bit.
1449 # http://homepage.ntlworld.com/jonathan.deboynepollard/FGA/determining-fat-widths.html
1480 # https://technet.microsoft.com/en-us/library/cc977221.aspx
1492 >>>>>>50 uleshort =0xFFFF \b, no Backup boot sector
1493 >>>>>>50 uleshort =0 \b, no Backup boot sector
1494 #>>>>>>50 uleshort =6 \b, Backup boot sector %u (usual)
1496 >>>>>>>50 uleshort x \b, Backup boot sector %u
1497 …y Joerg Jenderek at Feb 2011 according to https://thestarman.pcministry.com/asm/mbr/MSWIN41.htm#FS…
1506 # in Windows NT bit 0 is a dirty flag to request chkdsk at boot time. bit 1 requests surface scan t…
1520 >>>>>>>(11.s) ulelong&0x00ffffF0 0x00ffffF0 \b, followed by FAT
1522 !:mime application/x-ima
1523 …ded by Joerg Jenderek at Mar 2011 according to https://thestarman.pcministry.com/asm/mbr/NTFSBR.htm
1524 # and http://homepage.ntlworld.com/jonathan.deboynepollard/FGA/bios-parameter-block.html
1540 # Values 0 to 127 represent MFT record sizes of 0 to 127 clusters.
1541 # Values 128 to 255 represent MFT record sizes of 2^(256-N) bytes.
1544 >>>>>>>>>>64 ubyte >127 \b, bytes/RecordSegment 2^(-1*%i)
1545 # Values 0 to 127 represent index block sizes of 0 to 127 clusters.
1546 # Values 128 to 255 represent index block sizes of 2^(256-N) byte
1549 #>>>>>>>>>>68 ulelong >127 \b, bytes/index block 2^(256-%d)
1550 >>>>>>>>>>68 ubyte >127 \b, bytes/index block 2^(-1*%i)
1555 >>>>>>>>>(0x200.s*2) ubyte x
1556 # in next sector loadername terminated by unicode CTRL-D and $
1559 #!:mime application/x-raw-disk-image
1561 >>>>>>>>>>>0x200 use ntfs-sector2
1564 # https://thestarman.pcministry.com/asm/mbr/NTFSbrHexEd.htm
1567 #!:mime application/octet-stream
1569 >0 use ntfs-sector2
1570 # https://memory.dataram.com/products-and-services/software/ramdisk
1573 #!:mime application/octet-stream
1575 >0 use ntfs-sector2
1577 0 name ntfs-sector2
1583 >>>0x002 lestring16 x bootstrap %-5.5s
1586 >>>>0x0c lestring16 x \b%-2.2s
1587 ### DOS,NTFS boot sectors end
1589 # ntfsclone-image is a special save format for NTFS volumes,
1591 0 string \0ntfsclone-image ntfsclone image,
1592 >0x10 byte x version %d.
1616 9564 lelong 0x00011954 Unix Fast File system [v1] (little-endian),
1619 9564 belong 0x00011954 Unix Fast File system [v1] (big-endian),
1641 >712 lequad x system-wide uuid %0llx,
1646 42332 lelong 0x19012038 Unix Fast File system [v2ea] (little-endian)
1649 42332 lelong 0x19540119 Unix Fast File system [v2] (little-endian)
1652 42332 belong 0x19012038 Unix Fast File system [v2ea] (little-endian)
1655 42332 belong 0x19540119 Unix Fast File system [v2] (big-endian)
1658 66908 lelong 0x19012038 Unix Fast File system [v2ea] (little-endian)
1661 66908 lelong 0x19540119 Unix Fast File system [v2] (little-endian)
1664 66908 belong 0x19012038 Unix Fast File system [v2ea] (little-endian)
1667 66908 belong 0x19540119 Unix Fast File system [v2] (big-endian)
1670 0 ulequad 0xc8414d4dc5523031 HAMMER filesystem (little-endian),
1677 0 ulequad 0x48414d3205172011 HAMMER2 filesystem (little-endian),
1683 # ext2/ext3 filesystems - Andreas Dilger <adilger@dilger.ca>
1684 # ext4 filesystem - Eric Sandeen <sandeen@sandeen.net>
1686 # https://etbe.coker.com.au/2008/07/08/label-vs-uuid-vs-device/
1689 >0x43e leshort x \b.%d
1704 >0x46c ubeshort x \b-%04x
1705 >0x46e ubeshort x \b-%04x
1706 >0x470 ubeshort x \b-%04x
1707 >0x472 ubelong x \b-%08x
1729 # f2fs filesystem - Tuomas Tynkkynen <tuomas.tynkkynen@iki.fi>
1732 >0x470 ubeshort x \b-%04x
1733 >0x472 ubeshort x \b-%04x
1734 >0x474 ubeshort x \b-%04x
1735 >0x476 ubelong x \b-%08x
1739 # Minix filesystems - Juan Cespedes <cespedes@debian.org>
1743 >0x402 beshort > -1 Minix filesystem, V1, 14 char names, %d zones
1748 >0x402 beshort > -1 Minix filesystem, V1 (big endian), %d zones
1753 >0x402 beshort > -1 Minix filesystem, V1, 30 char names, %d zones
1758 >0x402 beshort > -1 Minix filesystem, V1, 30 char names (big endian), %d zones
1763 #>>0x402 beshort > -1 Minix filesystem, V2, 14 char names
1767 #>0x402 beshort > -1 Minix filesystem, V2 (big endian)
1771 #>0x402 beshort > -1 Minix filesystem, V2, 30 char names
1775 #>0x402 beshort > -1 Minix filesystem, V2, 30 char names
1783 #>>0x402 beshort > -1 Minix filesystem, V3, 60 char names
1785 # SGI disk labels - Nathan Scott <nathans@debian.org>
1788 # SGI XFS filesystem - Nathan Scott <nathans@debian.org>
1796 # Minix-ST kernel floppy
1797 0x800 belong 0x46fc2700 Atari-ST Minix kernel image
1798 # https://en.wikipedia.org/wiki/BIOS_parameter_block
1806 >0x1FE leshort 0xAA55 \b, DOS/MBR hard disk boot sector
1808 >0x1FE leshort 0xAA55 \b, DOS/MBR hard disk boot sector
1810 >0x1FE leshort 0xAA55 \b, DOS/MBR hard disk boot sector
1813 >0x1FE leshort 0xAA55 \b, DOS/MBR hard disk boot sector
1815 >0x1FE leshort 0xAA55 \b, DOS/MBR hard disk boot sector
1817 19 string \320\002\370\005\0\011\0\1\0 Atari-ST floppy 360k
1818 19 string \240\005\371\005\0\011\0\2\0 Atari-ST floppy 720k
1826 # Valid media descriptor bytes for MS-DOS:
1829 # -------------------------------------------------
1831 # F0 2.88 MB 3.5-inch, 2-sided, 36-sector
1832 # F0 1.44 MB 3.5-inch, 2-sided, 18-sector
1833 # F9 720K 3.5-inch, 2-sided, 9-sector
1834 # F9 1.2 MB 5.25-inch, 2-sided, 15-sector
1835 # FD 360K 5.25-inch, 2-sided, 9-sector
1836 # FF 320K 5.25-inch, 2-sided, 8-sector
1837 # FC 180K 5.25-inch, 1-sided, 9-sector
1838 # FE 160K 5.25-inch, 1-sided, 8-sector
1839 # FE 250K 8-inch, 1-sided, single-density
1840 # FD 500K 8-inch, 2-sided, single-density
1841 # FE 1.2 MB 8-inch, 2-sided, double-density
1842 # F8 ----- Fixed disk
1844 # FC xxxK Apricot 70x1x9 boot disk.
1853 # 11111xxx Must be one.
1868 # https://en.wikipedia.org/wiki/File_Allocation_Table#Exceptions
1869 # Too Weak.
1884 #!:mime application/x-ima
1890 #!:mime application/x-ima
1895 #!:mime application/x-ima
1900 #!:mime application/x-ima
1905 #>>>0 ubequad 0xfabce701b8c0078e \b, MS-DOS 1.12 bootloader
1906 # IOSYS.COM+MSDOS.COM
1907 #>>>>0xc4 use 2xDOS-filename
1912 # https://thestarman.pcministry.com/DOS/ibm100/Boot.htm
1914 #>>>>(1.b+2) ubequad 0xfa8cc88ed8ba0000 \b, PC-DOS 1.0 bootloader
1915 # ibmbio.com+ibmdos.com
1916 #>>>>>0x176 use DOS-filename
1918 #>>>>>0x182 use DOS-filename
1919 # https://thestarman.pcministry.com/DOS/ibm110/Boot.htm
1921 #>>>>(1.b+2) ubequad 0xfa8cc88ed833d28e \b, PC-DOS 1.1 bootloader
1922 # ibmbio.com+ibmdos.com
1923 #>>>>>0x18b use DOS-filename
1925 #>>>>>0x197 use DOS-filename
1926 # https://en.wikipedia.org/wiki/Zenith_Data_Systems
1928 #>>>>(1.b+2) ubequad 0xbbc0078ed3bcc601 \b, Zenith Data Systems MS-DOS 1.25 bootloader
1929 # IO.SYS+MSDOS.SYS
1930 #>>>>>0x20 use 2xDOS-filename
1931 # https://en.wikipedia.org/wiki/Corona_Data_Systems
1933 #>>>>(1.b+2) ubequad 0x8cc88ed8fa8ed0bc \b, MS-DOS 1.25 bootloader
1934 # IO.SYS+MSDOS.SYS
1935 #>>>>>0x69 use 2xDOS-filename
1937 #>>>>(1.b+2) ubequad 0xfa0e17bc007cb860 \b, MS-DOS 2.11 bootloader
1938 # defect IO.SYS+MSDOS.SYS ?
1939 #>>>>>0x162 use 2xDOS-filename
1941 0 name cdrom ISO 9660 CD-ROM filesystem data
1942 !:mime application/x-iso9660-image
1944 # The next line is not necessary because the MBR staff is done looking for boot signature
1945 >0x1FE leshort 0xAA55 (DOS/MBR boot sector)
1947 >32808 string/T >\0 '%.32s'
1953 37633 string CD001 ISO 9660 CD-ROM filesystem data (raw 2352 byte sectors)
1954 !:mime application/x-iso9660-image
1956 # URL: http://fileformats.archiveteam.org/wiki/High_Sierra
1958 32777 string CDROM High Sierra CD-ROM filesystem data
1959 # https://www.unix.com/man-page/OpenSolaris/7fs/hsfs/
1960 #!:mime application/octet-stream
1961 #!:mime application/x-hsfs-image
1962 # BOOKSHELF.ISO "Shareware Grab Bag.iso"
1965 >32816 string/T >\0 '%.32s'
1969 # https://en.wikipedia.org/wiki/ISO_9660
1970 # Modified for UDF by gerardo.cacciari@gmail.com
1973 # to display CD-ROM (70=81-11) after MBR (113=40+72+1), partition-table (71=50+21) and before Apple…
1974 #!:strength -11
1975 # to display CD-ROM (114=81+33) before MBR (113=40+72+1), partition-table (71=50+21) and Apple Driv…
1980 # URL: http://fileformats.archiveteam.org/wiki/Universal_Disk_Format
1981 # https://en.wikipedia.org/wiki/Universal_Disk_Format
1982 # Reference: https://wiki.osdev.org/UDF
1984 # verified by udftools `udfinfo nero-UDFv26.iso` and 7-Zip `7z l -tUdf nero-UDF1.iso`
2013 # NSR02 indicates ISO/IEC 13346 first edition, or ECMA-167 second edition
2014 # OSTA UDF 1.x revisions are based on ISO/IEC 13346 first edition
2015 # FIXME: This detection is incorrect as it does not detect UDF 1.x, but ECMA-167 2nd
2016 >5 ubyte 0x32 UDF filesystem data (version 1.x)
2017 #!:mime application/octet-stream
2018 !:mime application/x-udf-image
2020 # NSR03 indicates ISO/IEC 13346 second edition, or ECMA-167 third edition
2021 # OSTA UDF 2.x revisions are based on ECMA-167 third edition
2022 # FIXME: This detection is incorrect as it does not detect UDF 2.x, but ECMA-167 3rd
2023 >5 ubyte 0x33 UDF filesystem data (version 2.x)
2024 #!:mime application/octet-stream
2025 !:mime application/x-udf-image
2028 # URL: https://en.wikipedia.org/wiki/NRG_(file_format)
2029 # Reference: https://dl.opendesktop.org/api/files/download/id/1460731811/
2030 # 11577-mount-iso-0.9.5.tar.bz2/mount-iso-0.9.5/install.sh
2034 !:mime application/x-nrg
2038 # cramfs filesystem - russell@coker.com.au
2059 # reiserfs - russell@coker.com.au
2060 0x10034 string ReIsErFs ReiserFS V3.5
2061 0x10034 string ReIsEr2Fs ReiserFS V3.6
2062 0x10034 string ReIsEr3Fs ReiserFS V3.6.19
2071 # From: Mark Brown <broonie@sirena.org.uk>
2075 # From: Mark Brown <broonie@sirena.org.uk>
2079 # From: Mark Brown <broonie@sirena.org.uk> [old]
2080 # From: Behan Webster <behanw@websterwood.com>
2081 0 belong 0x27051956 u-boot legacy uImage,
2111 >29 byte 6 \bMIPS 64-bit,
2116 >29 byte 11 \bSparc 64-bit,
2118 >29 byte 13 \bNios-32,
2120 >29 byte 15 \bNios-II,
2127 >29 byte 22 \bARM 64-bit,
2131 >29 byte 26 \bRISC-V,
2136 >30 byte 4 Multi-File Image
2160 >28 beshort x version %d.
2198 # From: Ty Sarna <tsarna@sarna.org>
2211 #----------------------------------------------------------
2212 #delta ISO Daniel Novotny (dnovotny@redhat.com)
2217 # VMS backup savesets - gerardo.cacciari@gmail.com
2220 >(0.s+16) string \x01\x01
2221 >>&(&0.b+8) byte 0x42 OpenVMS backup saveset data
2229 # Created by: Aaron Botsis <redhat@digitalmafia.org>
2232 >0 long x \b.%d,
2233 >560 string x label: %.64s,
2234 >136 string x mountpoint: %.128s
2236 # Oracle ASM tagged volume - Aaron Botsis <redhat@digitalmafia.org>
2243 # From: Dirk Jagdmann <doj@cubic.org>
2246 #------------------------------------------------------------------------------
2247 # Files-11 On-Disk Structure (File system for various RSX-11 and VMS flavours).
2248 # These bits come from LBN 1 (home block) of ODS-1, ODS-2 and ODS-5 volumes,
2249 # which is mapped to VBN 2 of [000000]INDEXF.SYS;1 - gerardo.cacciari@gmail.com
2251 1008 string DECFILE11 Files-11 On-Disk Structure
2252 >525 byte x (ODS-%d);
2253 >1017 string A RSX-11, VAX/VMS or OpenVMS VAX file system;
2257 >984 string x volume label is '%-12.12s'
2259 # From: Thomas Klausner <wiz@NetBSD.org>
2260 # https://filext.com/file-extension/DAA
2261 # describes the daa file format. The magic would be:
2262 0 string DAA\x0\x0\x0\x0\x0 PowerISO Direct-Access-Archive
2264 # From Albert Cahalan <acahalan@gmail.com>
2279 # Russell Coker <russell@coker.com.au>
2285 >0x10020 ubelong x UUID=%08x-
2286 >0x10024 ubeshort x \b%04x-
2287 >0x10026 ubeshort x \b%04x-
2288 >0x10028 ubeshort x \b%04x-
2295 0 string btrfs-stream BTRFS stream file
2297 # dvdisaster's .ecc
2298 # From: "Nelson A. de Oliveira" <naoliv@gmail.com>
2302 # From: Werner Fink <werner@suse.de>
2314 # From: Daniel Novotny <dnovotny@redhat.com>
2316 # but can we do the << ? For now it's always 512 (0x200) anyway.
2321 # From: Daniel Novotny <dnovotny@redhat.com>
2325 # JFS2 (Journaling File System) image. (Old JFS1 has superblock at 0x1000.)
2326 # See linux/fs/jfs/jfs_superblock.h for layout; see jfs_filsys.h for flags.
2327 # From: Adam Buchbinder <adam.buchbinder@gmail.com>
2329 # Because it's text-only magic, check a binary value (version) to be sure.
2330 # Should always be 2, but mkfs.jfs writes it as 1. Needs to be 2 or 1 to be
2331 # mountable.
2334 # appending the UUID in the case of a 16-byte label.
2335 >>&144 regex [\x20-\x7E]{1,16} (label "%s")
2369 >18 leshort x %d heads.)
2373 # URL: http://fileformats.archiveteam.org/wiki/LoadDskF/SaveDskF
2376 # verfied by 7-Zip `7z l -tFAT -slt *.dsk` and
2377 # `deark -l -m loaddskf 06200D19.DSK`
2378 # Reference: http://mark0.net/download/triddefs_xml.7z/defs/d/dsk-skf-old.trid.xml
2381 # Reference: http://mark0.net/download/triddefs_xml.7z/defs/d/dsk-skf.trid.xml
2384 # Reference: http://mark0.net/download/triddefs_xml.7z/defs/d/dsk-skf-comp.trid.xml
2398 #!:mime application/octet-stream
2399 !:mime application/x-ibm-dsk
2401 # also suffix with digit (1dk .2dk ...); NO example FOUND!
2407 # https://en.wikipedia.org/wiki/Design_of_the_FAT_file_system
2411 # sector size in bytes as in the BIOS parameter block like: 512 ; SAVEDSKF.EXE with other sizes pro…
2419 # reserved sectors; as in the BIOS parameter block like: 1 256 (2M256R-K.DSK)
2422 # FAT copies; as in the BIOS parameter block like: 2 (usual) 1 (2-NK.DSK)
2427 … directory entries; as in the BIOS parameter block like: 224 (usual) 64 (H1-NK.DSK) 4096 (2-NK.DSK)
2429 # sector number of first cluster (count sectors used by boot sector, FATs and root directory) like:…
2433 # sectors/FAT; as in the BIOS parameter block like: 1 (H1-NK.DSK) 7 9
2435 …ot directory (ie, count of sectors used by boot sector and FATs) like: 3 (H1-NK.DSK) 9 10 15 19 27…
2442 # heads; number of heads as in the BIOS parameter block like: 1 (H1-NK.DSK) 2
2453 >(36.s) ubyte !0x00
2459 >>>(36.s) string x "%s"
2460 # offset to the first sector like: 0 (If this is 0, assume it is 0x200) 29h=41 (DISPLAY3.DSK) 31h 4…
2463 #>(38.s) ubelong x SECTOR CONTENT %x
2464 # not compressed floppy image implies readable DOS boot sector inside image
2466 # when not compressed it is readable as DOS boot sector via ./filesystems
2467 #>>>(38.s) indirect x \b; contains
2469 # maybe standard DOS boot sector; NO example FOUND HERE!
2475 # URL: https://en.wikipedia.org/wiki/Central_Point_Software#cite_note-6
2476 # Reference: https://www.robcraig.com/download/transcopy-5-x-file-format
2477 # https://www.robcraig.com/download/transcopy-file-format-by-gene-thompson
2478 # http://mark0.net/download/triddefs_xml.7z/defs/t/tc-transcopy.trid.xml
2481 # skip Intel serial flash ROM with invalid 0 disk sides handled by ./intel
2483 # skip Intel serial flash ROM with unlikely "high" start cylinder 100 handled by ./intel
2485 # skip Intel serial flash ROM with unlikely description handled by ./intel
2487 # skip Intel serial flash ROM with invalid disk types 89h 88h handled by ./intel
2489 >>0 use tc-floppy
2491 0 name tc-floppy
2493 #!:mime application/octet-stream
2494 !:mime application/x-floppy-image-tc
2495 # like: disk04.tc VOCALC2.TC WIZ5_A.tc WIZ2_720.IMG
2497 # 1st description (optional 0-terminated maximal 32) like:
2499 >2 string >\0 %.32s
2500 # 2nd desc. (optional 0-terminated maximal 32) like:
2501 # "(1988)." "Advanced - Utility" 'Program Disk 2"
2502 >0x22 string >\0 "%.32s"
2505 #>>0x42 string x '%.190s'
2506 #>>0x88 lestring16 x "%.8s"
2535 # Richard W.M. Jones <rjones@redhat.com>
2540 # http://www.forensicswiki.org/wiki/Encase_image_file_format
2544 # Linux kernel sources: fs/ubifs/ubifs-media.h
2557 # NEC PC-88 2D disk image
2558 # From Fabio R. Schmidlin <sd-snatcher@users.sourceforge.net>
2566 >>>>>>>0 regex [[:print:]]* NEC PC-88 disk image, name=%s
2572 >>>>>>>>0x1A ubyte 0x10 \b, write-protected
2574 # HDD Raw Copy Tool disk image, file extension: .imgc
2575 # From Benjamin Vanheuverzwijn <bvanheu@gmail.com>
2578 >0x200 pstring x - HD model: %s
2584 # http://martin.hinner.info/fs/bfs/bfs-structure.html
2587 # https://arstechnica.com/information-technology/2018/07/the-beos-filesystem/
2600 # https://opensource.apple.com/source/IOStorageFamily/IOStorageFamily-44.3\
2601 # /IONeXTPartitionScheme.h
2610 # From: Thomas Wei�schuh <thomas@t-8ch.de>
2612 0 name bcachefs-uuid
2614 >4 ubeshort x \b-%04x
2615 >6 ubeshort x \b-%04x
2616 >8 ubeshort x \b-%04x
2617 >10 ubelong x \b-%08x
2622 >>0x38 use bcachefs-uuid
2623 >>0x48 string >0 \b, label "%.32s"
2630 >>>&(0x07a.b*56) use bcachefs-uuid
2641 # https://kernel.googlesource.com/pub/scm/linux/kernel/git/xiang/erofs-utils/\
2642 # +/refs/heads/experimental/include/erofs_fs.h#12
2653 #>1056 lelong x \b.%d
2668 # reference implementation. This signature is derived from the
2673 # u32 type /* enum yaffs_obj_type, valid 1-5 */
2675 # u16 sum_no_longer_used; /* checksum of name. Not used by YAFFS and memset to 0xFF */
2679 # mkyaffs2image directly proceeds to writing entries with the appropriate u32 YAFFS_OBJECT_TYPE (1-…
2692 # XX: 01 - 05 (object type)
2701 # XX: 01 - 05 (object type)
2711 # From: Alexandre Iooss <erdnaxe@crans.org>
2712 # URL: https://github.com/littlefs-project/littlefs/blob/v2.9.0/SPEC.md
2717 >>20 uleshort x \b.%u