Blame magic.txt

Packit Service e31a56
# This file contains suggested magic(5) text for the unix file(1)
Packit Service e31a56
# utility for recognizing SQLite3 databases.
Packit Service e31a56
#
Packit Service e31a56
# When SQLite is used as an application file format, it is desirable to
Packit Service e31a56
# have file(1) recognize the database file as being with the specific
Packit Service e31a56
# application.  You can set the application_id for a database file
Packit Service e31a56
# using:
Packit Service e31a56
#
Packit Service e31a56
#     PRAGMA application_id = INTEGER;
Packit Service e31a56
#
Packit Service e31a56
# INTEGER can be any signed 32-bit integer.  That integer is written as
Packit Service e31a56
# a 4-byte big-endian integer into offset 68 of the database header. 
Packit Service e31a56
#
Packit Service e31a56
# The Monotone application used "PRAGMA user_version=1598903374;" to set
Packit Service e31a56
# its identifier long before "PRAGMA application_id" became available.
Packit Service e31a56
# The user_version is very similar to application_id except that it is
Packit Service e31a56
# stored at offset 68 instead of offset 60.  The application_id pragma
Packit Service e31a56
# is preferred.  The rule using offset 60 for Monotone is for historical
Packit Service e31a56
# compatibility only.
Packit Service e31a56
#
Packit Service e31a56
0    string  =SQLite\ format\ 3
Packit Service e31a56
>68  belong  =0x0f055112  Fossil checkout - 
Packit Service e31a56
>68  belong  =0x0f055113  Fossil global configuration - 
Packit Service e31a56
>68  belong  =0x0f055111  Fossil repository -
Packit Service e31a56
>68  belong  =0x42654462  Bentley Systems BeSQLite Database -
Packit Service e31a56
>68  belong  =0x42654c6e  Bentley Systems Localization File -
Packit Service e31a56
>60  belong  =0x5f4d544e  Monotone source repository -
Packit Service e31a56
>68  belong  =0x47504b47  OGC GeoPackage file -
Packit Service e31a56
>68  belong  =0x47503130  OGC GeoPackage version 1.0 file -
Packit Service e31a56
>68  belong  =0x45737269  Esri Spatially-Enabled Database -
Packit Service e31a56
>68  belong  =0x4d504258  MBTiles tileset -
Packit Service e31a56
>0   string  =SQLite      SQLite3 database