summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron Griffin <aaron@archlinux.org>2006-05-05 20:41:36 +0200
committerAaron Griffin <aaron@archlinux.org>2006-05-05 20:41:36 +0200
commitb96bede4d476b5636c14a48b3db529fe26aa758c (patch)
tree5715e68d93322d6ba26da51601858c4c9103adf7
parent7737a58e7efb858e3cd89ee3ecc50f6fc4cd7d38 (diff)
downloadmkinitcpio-b96bede4d476b5636c14a48b3db529fe26aa758c.tar.gz
mkinitcpio-b96bede4d476b5636c14a48b3db529fe26aa758c.tar.xz
Added filesystems to -M output
git-svn-id: http://projects.archlinux.org/svn/initramfs/mkinitcpio@71 880c04e9-e011-0410-abf7-b926e227c9cd
-rw-r--r--mkinitcpio4
1 files changed, 4 insertions, 0 deletions
diff --git a/mkinitcpio b/mkinitcpio
index 3cdb3f6..4b256e4 100644
--- a/mkinitcpio
+++ b/mkinitcpio
@@ -116,6 +116,10 @@ if [ "${SHOW_AUTOMODS}" = "y" ]; then
for m in $(auto_modules "\.ko"); do
echo " ${m}"
done
+ for fs in $(grep -ve nodev /proc/filesystems); do
+ filname="$(modinfo -F filename ${fs} 2>/dev/null)"
+ [ "x${filname}" != "x" ] && echo " ${filname}"
+ done
exit 0
fi