filesystems 1.2 KB

123456789101112131415161718192021222324252627282930313233343536
  1. #------------------------------------------------------------------------------
  2. # filesystems: file(1) magic for different filesystems
  3. #
  4. 0x438 leshort 0xEF53 Linux/i386 ext2 filesystem
  5. 0 string \366\366\366\366 PC formatted floppy with no filesystem
  6. # Sun disk labels
  7. # From /usr/include/sun/dklabel.h:
  8. 0774 beshort 0xdabe Sun disk label
  9. >0 string x '%s
  10. >>31 string >\0 \b%s
  11. >>>63 string >\0 \b%s
  12. >>>>95 string >\0 \b%s
  13. >0 string x \b'
  14. >0734 short >0 %d rpm,
  15. >0736 short >0 %d phys cys,
  16. >0740 short >0 %d alts/cyl,
  17. >0746 short >0 %d interleave,
  18. >0750 short >0 %d data cyls,
  19. >0752 short >0 %d alt cyls,
  20. >0754 short >0 %d heads/partition,
  21. >0756 short >0 %d sectors/track,
  22. >0764 long >0 start cyl %ld,
  23. >0770 long x %ld blocks
  24. # Is there a boot block written 1 sector in?
  25. >512 belong&077777777 0600407 \b, boot block present
  26. 0x1FE leshort 0xAA55 x86 boot sector
  27. >2 string OSBS \b, OS/BS MBR
  28. >0x8C string Invalid\ partition\ table \b, MS-DOS MBR
  29. >0 string \0\0\0\0 \b, extended partition table
  30. >0 leshort 0x3CEB \b, system
  31. >>3 string >\0 %s
  32. >>0x36 string FAT \b, %s
  33. >>>0x39 string 12 (%s bit)
  34. >>>0x39 string 16 (%s bit)
  35. >0x200 lelong 0x82564557 \b, BSD disklabel