find: slocate Database Format
1
1 4.2.3 slocate Database Format
1 -----------------------------
1
1 The 'slocate' program uses a database format similar to, but not quite
1 the same as, GNU 'locate'. The first byte of the database specifies its
1 "security level". If the security level is 0, 'slocate' will read,
1 match and print filenames on the basis of the information in the
1 database only. However, if the security level byte is 1, 'slocate'
1 omits entries from its output if the invoking user is unable to access
1 them. The second byte of the database is zero. The second byte is
1 immediately followed by the first database entry. The first entry in
1 the database is not preceded by any differential count or dummy entry.
1 Instead the differential count for the first item is assumed to be zero.
1
1 Starting with the second entry (if any) in the database, data is
1 interpreted as for the GNU LOCATE02 format.
1