sql 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  1. #------------------------------------------------------------------------------
  2. # sql: file(1) magic for SQL files
  3. #
  4. # From: "Marty Leisner" <mleisner@eng.mc.xerox.com>
  5. # Recognize some MySQL files.
  6. #
  7. 0 beshort 0xfe01 MySQL table definition file
  8. >2 byte x Version %d
  9. 0 belong&0xffffff00 0xfefe0300 MySQL MISAM index file
  10. >3 byte x Version %d
  11. 0 belong&0xffffff00 0xfefe0700 MySQL MISAM compressed data file
  12. >3 byte x Version %d
  13. 0 belong&0xffffff00 0xfefe0500 MySQL ISAM index file
  14. >3 byte x Version %d
  15. 0 belong&0xffffff00 0xfefe0600 MySQL ISAM compressed data file
  16. >3 byte x Version %d
  17. 0 string \376bin MySQL replication log
  18. #------------------------------------------------------------------------------
  19. # iRiver H Series database file
  20. # From Ken Guest <ken@linux.ie>
  21. # As observed from iRivNavi.iDB and unencoded firmware
  22. #
  23. 0 string iRivDB iRiver Database file
  24. >11 string >\0 Version %s
  25. >39 string iHP-100 [H Series]
  26. #------------------------------------------------------------------------------
  27. # SQLite database file
  28. # From Ken Guest <ken@linux.ie>
  29. #
  30. 0 string SQLite SQLite database
  31. >14 string >\0 (Version %s)