Displaying 1 result from an estimated 1 matches for "manual_add_modules".
2010 Apr 16
2
[RFC] btrfs, udev and btrfs
...1 in
# get pre-requisites
prereqs)
echo "udev"
exit 0
;;
esac
. /usr/share/initramfs-tools/hook-functions
mkdir -p $DESTDIR/lib/udev/rules.d/
cp /etc/udev/rules.d/60-btrfs-scan.rules \
$DESTDIR/lib/udev/rules.d/
copy_exec /sbin/btrfsctl
manual_add_modules btrfs
manual_add_modules crc32c
Note #1) pay attention to the fact the btrfs (libcrc32c in reality) needs the
module crc32c even though there no is explicit dependency.
Note #2) init-top/btrfs has to start before init-top/udev: udev starts
"btrfsctl", which requires the btrfs modul...