The ThunarVfsMimeLegacy class is used to provide access to the mime database if the system doesn't support mmap() or the shared-mime-database package is too old (and update-mime-database doesn't generate the mime.cache file).
*** Bug 1549 has been marked as a duplicate of this bug. ***
Committed with revision 20276 (requires some testing). 2006-03-07 Benedikt Meurer <benny@xfce.org> * thunar-vfs/thunar-vfs-mime-legacy.c: Implement magic handling for the legacy backend (shared-mime-info <= 0.16). Bug #1106.