updated on Sun Jan 15 16:02:00 UTC 2012
[aur-mirror.git] / evms / evms_install
blobaffac53af58dc2d34f77cb601c45e8e9138d74fb
1 # vim: set ft=sh:
3 #mkinitcpio hook for loading a root filesystem on an EVMS volume.
4 #2007-08-13 02:15 UTC by Felix (01001101@femail.mine.nu)
6 install () {
7         MODULES="$(checked_modules "drivers/md/*")"
8         BINARIES="evms_activate"
9         FILES=""
10         SCRIPT="evms"
11         add_binary "/sbin/evms_activate" "/sbin/evms_activate"
12         add_file "/usr/lib/libgcc_s.so.1" "/usr/lib/libgcc_s.so.1"
13         add_file "/lib/libuuid.so.1" "/lib/libuuid.so.1"
14         add_file "/etc/evms.conf" "/etc/evms.conf"
15         add_full_dir "/lib/evms"
18 help ()
20 cat<<HELPEOF
21   This hook loads the necessary modules for using a root filesystem managed by
22   EVMS and then runs evms_activate. The root filesystem can be any kind of EVMS
23   volume; only /boot needs to be a 'compatibility' partition.
25   IMPORTANT NOTE!
26   EVMS RAID volumes do not look like normal RAID volumes if they are inside any
27   kind of container object. Consequently, things like the [autodetect] hook may
28   not see them. You should remove the [autodetect] hook from your
29   mkinitcpio.conf if you plan to use this EVMS hook and your root filesystem is
30   EVMS RAID.
32   Kernel Parameters:
33   No special ones just now. Specify your root= as whatever the EVMS path to it
34   will be, e.g.
35   ::: Example ::: root=/dev/evms/root
36   Do NOT specify RAID arrays if you use EVMS to manage them; EVMS will take 
37   care of that for you.
39 HELPEOF