/usr/share/initramfs-tools/hooks/ntfs_3g is in ntfs-3g 1:2015.3.14AR.1-1build1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | #!/bin/sh
set -e
PREREQ="fuse"
prereqs () {
echo "${PREREQ}"
}
case "${1}" in
prereqs)
prereqs
exit 0
;;
esac
. /usr/share/initramfs-tools/hook-functions
copy_exec /bin/ntfs-3g /bin
ln -s /bin/ntfs-3g "${DESTDIR}/sbin/mount.ntfs-3g"
ln -s /bin/ntfs-3g "${DESTDIR}/sbin/mount.ntfs"
exit 0
|