3 # store the multipath tool in the initrd
4 # hotplug & udev will take care of calling it when appropriate
5 # this tool is statically linked against klibc : no additional libs
7 cp /sbin/multipath $INITRDDIR/sbin
8 cp /sbin/devmap_name $INITRDDIR/sbin
9 cp /sbin/kpartx $INITRDDIR/sbin
12 # feed the dependencies too
13 # scsi_id is dynamicaly linked, so store the libs too
15 cp /sbin/scsi_id $INITRDDIR/sbin
16 cp /bin/mountpoint $INITRDDIR/bin
18 PROGS="/sbin/scsi_id /bin/mountpoint"
19 LIBS=`ldd $PROGS | grep -v linux-gate.so | sort -u | \
23 mkdir -p `dirname $INITRDDIR/$i`
30 if [ -f /etc/multipath.conf ]
32 cp /etc/multipath.conf $INITRDDIR/etc/