mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
blkdeactive: use /sbin for mdamd
Do not using lvm's @SBINDIR@ for mdadm path. Set this directly to /sbin/mdadm like other tools. Group them separately
This commit is contained in:
parent
2354fb3fe4
commit
0f0baec1f3
@ -31,17 +31,17 @@ shopt -s dotglob nullglob
|
||||
|
||||
TOOL=blkdeactivate
|
||||
|
||||
sbindir="@SBINDIR@"
|
||||
|
||||
DEV_DIR="/dev"
|
||||
SYS_BLK_DIR="/sys/block"
|
||||
|
||||
MDADM="/sbin/mdadm"
|
||||
MOUNTPOINT="/bin/mountpoint"
|
||||
MPATHD="/sbin/multipathd"
|
||||
UMOUNT="/bin/umount"
|
||||
|
||||
sbindir="@SBINDIR@"
|
||||
DMSETUP="$sbindir/dmsetup"
|
||||
LVM="$sbindir/lvm"
|
||||
MDADM="$sbindir/mdadm"
|
||||
MPATHD="/sbin/multipathd"
|
||||
|
||||
if "$UMOUNT" --help | grep -- "--all-targets" >"$DEV_DIR/null"; then
|
||||
UMOUNT_OPTS="--all-targets "
|
||||
|
Loading…
Reference in New Issue
Block a user