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/kpartx $INITRDDIR/sbin
11 # feed the dependencies too
12 # scsi_id is dynamicaly linked, so store the libs too
14 cp /lib/udev/scsi_id $INITRDDIR/lib/udev/
15 cp /bin/mountpoint $INITRDDIR/bin
17 PROGS="/lib/udev/scsi_id /bin/mountpoint"
18 LIBS=`ldd $PROGS | grep -v linux-gate.so | sort -u | \
22 mkdir -p `dirname $INITRDDIR/$i`
29 if [ -f /etc/multipath.conf ]
31 cp /etc/multipath.conf $INITRDDIR/etc/