summaryrefslogtreecommitdiffstats
path: root/install/filesystems-auto
diff options
context:
space:
mode:
authorAaron Griffin <aaron@archlinux.org>2006-04-26 00:51:44 +0200
committerAaron Griffin <aaron@archlinux.org>2006-04-26 00:51:44 +0200
commit0a28a95f49eaeb33487c21995c71b5ca74df131e (patch)
treeb61e928dfed751ae443bafeea7c76adff73257e3 /install/filesystems-auto
parentd323115c7b1a02244a52e298d83be8a390dbcc28 (diff)
downloadmkinitcpio-0a28a95f49eaeb33487c21995c71b5ca74df131e.tar.gz
mkinitcpio-0a28a95f49eaeb33487c21995c71b5ca74df131e.tar.xz
Add: filesystem autodetection
git-svn-id: http://projects.archlinux.org/svn/initramfs/mkinitcpio@19 880c04e9-e011-0410-abf7-b926e227c9cd
Diffstat (limited to 'install/filesystems-auto')
-rw-r--r--install/filesystems-auto17
1 files changed, 17 insertions, 0 deletions
diff --git a/install/filesystems-auto b/install/filesystems-auto
new file mode 100644
index 0000000..bf7976c
--- /dev/null
+++ b/install/filesystems-auto
@@ -0,0 +1,17 @@
+# vim: set ft=sh:
+
+install ()
+{
+ MODULES=" $(cat /proc/filesystems | grep -v nodev) "
+ BINARIES=""
+ FILES=""
+ SCRIPT="filesystems"
+}
+
+help ()
+{
+cat<<HELPEOF
+ This hook is responsible for loading filesystems for the root device.
+ Detection will be done at runtime.
+HELPEOF
+}