#978162 ntfs-3g: Do not install initramfs hook by default

Package:
ntfs-3g
Source:
ntfs-3g
Description:
read/write NTFS driver for FUSE
Submitter:
Paul Menzel
Date:
2020-12-26 20:24:03 UTC
Severity:
minor
#978162#5
Date:
2020-12-26 20:21:43 UTC
From:
To:
Dear Debian folks,


The package *ntfs-3g* ships a hook for initramfs-tools by default,
copying the 151 KB binary `/bin/ntfs-3g` into the initrd.

     /usr/share/initramfs-tools/hooks/ntfs_3g

But, the majority of systems do not use NTFS formatted root partitions,
so the initrd size is increased slowing down the boot a little.

If `MODULES=dep` is set in `/etc/initramfs-tools/initramfs.conf` is set,
maybe it could be determined if the root file system is NTFS formatted,
and only then the binary added. But, that would cause confusion. Maybe
ntfs-3g could read an option from `/etc/initramfs-tools/conf.d/`.

     NTFS3G_INCLUDE=

could be used to control the hook.


Kind regards,

Paul