diff options
author | Thomas Bächler <thomas@archlinux.org> | 2010-06-23 00:18:06 +0200 |
---|---|---|
committer | Thomas Bächler <thomas@archlinux.org> | 2010-06-23 00:18:06 +0200 |
commit | 1ef7f115459c49cb1d0669544d5af39930e315ea (patch) | |
tree | 65e1f30dc54429cbeb41ad5578d3542030a8986b /install/memdisk | |
parent | be2270384ce03d7a17e2cf6a0ec0c5a1f861c1ff (diff) | |
download | mkinitcpio-1ef7f115459c49cb1d0669544d5af39930e315ea.tar.gz mkinitcpio-1ef7f115459c49cb1d0669544d5af39930e315ea.tar.xz |
Add memdisk hook
This hook creates a block device for virtual disks created
by memdisk (http://syslinux.zytor.com/wiki/index.php/MEMDISK).
Diffstat (limited to 'install/memdisk')
-rw-r--r-- | install/memdisk | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/install/memdisk b/install/memdisk new file mode 100644 index 0000000..9c0ce16 --- /dev/null +++ b/install/memdisk @@ -0,0 +1,19 @@ +# vim:set ft=sh: + +install () +{ + MODULES="phram mtdblock" + BINARIES="/usr/bin/memdiskfind" + FILES="" + SCRIPT="memdisk" +} + +help () +{ +cat <<HELPEOF + This hook detects a virtual disk created by the memdisk + tool (http://syslinux.zytor.com/wiki/index.php/MEMDISK). + + It requires memdiskfind from syslinux 4.00 or newer. +HELPEOF +} |