* Import linux-x86-32/64 and darwin-x86-32 sflib includedirs * Simplify data installation for magic, egg, syscall and asm * Set R2_INCDIR in r_userconf * Make ragg2-cc much smarter - use ragg2 -v to get paths and version - accept new flags -a -b -k for arch, bits and kernel - supports crosscompilation --HG-- rename : libr/magic/d/OpenBSD => libr/magic/d/default/OpenBSD rename : libr/magic/d/archive => libr/magic/d/default/archive rename : libr/magic/d/cafebabe => libr/magic/d/default/cafebabe rename : libr/magic/d/cisco => libr/magic/d/default/cisco rename : libr/magic/d/database => libr/magic/d/default/database rename : libr/magic/d/editors => libr/magic/d/default/editors rename : libr/magic/d/elf => libr/magic/d/default/elf rename : libr/magic/d/filesystems => libr/magic/d/default/filesystems rename : libr/magic/d/flash => libr/magic/d/default/flash rename : libr/magic/d/freebsd => libr/magic/d/default/freebsd rename : libr/magic/d/gimp => libr/magic/d/default/gimp rename : libr/magic/d/images => libr/magic/d/default/images rename : libr/magic/d/java => libr/magic/d/default/java rename : libr/magic/d/jpeg => libr/magic/d/default/jpeg rename : libr/magic/d/linux => libr/magic/d/default/linux rename : libr/magic/d/mail.news => libr/magic/d/default/mail.news rename : libr/magic/d/matroska => libr/magic/d/default/matroska rename : libr/magic/d/mime => libr/magic/d/default/mime rename : libr/magic/d/msdos => libr/magic/d/default/msdos rename : libr/magic/d/netbsd => libr/magic/d/default/netbsd rename : libr/magic/d/pdf => libr/magic/d/default/pdf rename : libr/magic/d/perl => libr/magic/d/default/perl rename : libr/magic/d/python => libr/magic/d/default/python rename : libr/magic/d/riff => libr/magic/d/default/riff rename : libr/magic/d/sniffer => libr/magic/d/default/sniffer rename : libr/magic/d/sql => libr/magic/d/default/sql rename : libr/magic/d/sun => libr/magic/d/default/sun rename : libr/magic/d/uuencode => libr/magic/d/default/uuencode
46 lines
1.7 KiB
Text
46 lines
1.7 KiB
Text
# $OpenBSD: sql,v 1.2 2008/05/08 01:40:57 chl Exp $
|
|
|
|
#------------------------------------------------------------------------------
|
|
# sql: file(1) magic for SQL files
|
|
#
|
|
# From: "Marty Leisner" <mleisner@eng.mc.xerox.com>
|
|
# 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
|
|
0 string \376bin MySQL replication log
|
|
|
|
#------------------------------------------------------------------------------
|
|
# iRiver H Series database file
|
|
# From Ken Guest <ken@linux.ie>
|
|
# As observed from iRivNavi.iDB and unencoded firmware
|
|
#
|
|
0 string iRivDB iRiver Database file
|
|
>11 string >\0 Version %s
|
|
>39 string iHP-100 [H Series]
|
|
|
|
#------------------------------------------------------------------------------
|
|
# SQLite database files
|
|
# Ken Guest <ken@linux.ie>, Ty Sarna, Zack Weinberg
|
|
#
|
|
# Version 1 used GDBM internally; its files cannot be distinguished
|
|
# from other GDBM files.
|
|
#
|
|
# Version 2 used this format:
|
|
0 string **\ This\ file\ contains\ an\ SQLite SQLite 2.x database
|
|
|
|
# Version 3 of SQLite allows applications to embed their own "user version"
|
|
# number in the database. Detect this and distinguish those files.
|
|
|
|
0 string SQLite\ format\ 3
|
|
>60 string _MTN Monotone source repository
|
|
>60 belong !0 SQLite 3.x database, user version %u
|
|
>60 belong 0 SQLite 3.x database
|