# Проверка, откуда читает утилита file: strace -e openat file --mime-type hello.foo 2>&1 | grep magic # openat(AT_FDCWD, "/usr/lib/libmagic.so.1", O_RDONLY|O_CLOEXEC) = 3 # openat(AT_FDCWD, "/usr/share/file/misc/magic.mgc", O_RDONLY) = 3