#!/bin/bash # FIXME: hard-coded module list of doom. instmods ${drivers:-=ata =block sd_mod =fs} # Grab modules for all filesystem types we currently have mounted while read d mp t rest; do instmods "$t" done