setup-disk fails to format and use an HP raid array
Fails due to putting a “!” in the device name. A patch similar to this fixes/works around the issue:
diff --git a/setup-disk.in b/setup-disk.in
index e5cae87..e7a063c 100644
--- a/setup-disk.in
+++ b/setup-disk.in
@@ -950,7 +950,7 @@ if [ $# -gt 0 ]; then
echo "$i is not a suitable for partitioning"
exit 1
fi
- diskdevs="$diskdevs /dev/$j"
+ diskdevs="$diskdevs /dev/${j//!//}"
done
else
ask_disk "Which disk(s) would you like to use? (or '?' for help or
'none')" \
(from redmine: issue id 2893, created on 2014-05-19, closed on 2015-12-09)
- Changesets:
- Revision dc06856d by Natanael Copa on 2014-05-19T13:52:01Z:
setup-disk: fix partitioning of HP raid array (cciss)
ref #2893
- Revision 6015d0cc954143cf4962881b91e38ae6912d94ef by Natanael Copa on 2014-05-19T15:55:35Z:
main/alpine-conf: fix cciss devices
ref #2893
- Revision 1c6ff8787ff33ad7eb3a091e8f490ac4501ce788 by Natanael Copa on 2014-05-19T15:57:57Z:
main/alpine-conf: backport HP array (cciss) paritioning fix
fixes #2893