Skip to content

Commit

Permalink
restore create_multipath function as we finally need it.
Browse files Browse the repository at this point in the history
  • Loading branch information
schabrolles committed Aug 25, 2017
1 parent 4344d1b commit ad5bd0e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions usr/share/rear/layout/prepare/GNU/Linux/210_load_multipath.sh
Expand Up @@ -89,3 +89,11 @@ blacklist {
LogPrint "$(dmsetup ls --target multipath 2>&1)"
fi
fi

### Create multipath devices (at least partitions on them).
create_multipath() {
local multipath device
read multipath device junk < <(grep "multipath $1 " "$LAYOUT_FILE")

create_partitions "$device"
}

0 comments on commit ad5bd0e

Please sign in to comment.