diff options
Diffstat (limited to 'support-files')
-rw-r--r-- | support-files/Makefile.am | 3 | ||||
-rw-r--r-- | support-files/magic | 14 |
2 files changed, 16 insertions, 1 deletions
diff --git a/support-files/Makefile.am b/support-files/Makefile.am index 923bd7f2f20..a9d5aac7f9e 100644 --- a/support-files/Makefile.am +++ b/support-files/Makefile.am @@ -24,7 +24,8 @@ EXTRA_DIST = mysql.spec.sh \ my-huge.cnf.sh \ mysql-log-rotate.sh \ mysql.server.sh \ - binary-configure.sh + binary-configure.sh \ + magic pkgdata_DATA = my-small.cnf \ my-medium.cnf \ diff --git a/support-files/magic b/support-files/magic new file mode 100644 index 00000000000..e209599ccf8 --- /dev/null +++ b/support-files/magic @@ -0,0 +1,14 @@ +# +# Add the following to the end of your /etc/magic file to get the 'file' +# command to recognize some MySQL files. +# +0 beshort 0xfe01 MySQL table definition file +>2 byte x Version %d +0 belong&0xffffff00 0xfefe0300 MySQL MISAM index file +>3 byte x Version %d +0 belong&0xffffff00 0xfefe0700 MySQL MISAM compressed data file +>3 byte x Version %d +0 belong&0xffffff00 0xfefe0500 MySQL ISAM index file +>3 byte x Version %d +0 belong&0xffffff00 0xfefe0600 MySQL ISAM compressed data file +>3 byte x Version %d |