19 . /usr/share/initramfs-tools/hook-functions
21 # Hooks for adding filesystem modules to the initramfs when the passdev
24 # Check whether the passdev script has been included
25 if [ ! -x "${DESTDIR}/keyscripts/passdev" ]; then
29 # The filesystem type of the removable device is probed at boot-time, so
30 # we add a generous list of filesystems to include. This also helps with
31 # recovery situation as including e.g. the vfat module might help a user
32 # who needs to create a new cryptkey (using a backup of a keyfile) on
33 # a windows-machine for example.
35 # This list needs to be kept in sync with the one defined in passdev.c
36 for fs in ext3 ext2 vfat reiserfs xfs isofs udf; do
37 manual_add_modules "$fs" > /dev/null 2>&1 || true