For MDADM, you don't need to select a RAID 4 parity disk explicitly

This commit is contained in:
Jamie Cameron
2007-05-14 17:56:23 +00:00
parent 589b20473c
commit 7bcc82e181
2 changed files with 3 additions and 1 deletions

View File

@@ -5,3 +5,5 @@ Added a button for mounting a RAID device.
RAID devices can now be easily mounted as virtual memory.
---- Changes since 1.280 ----
Added support for RAID 6 arrays when using MDADM.
---- Changes since 1.340 ----
Removed need to explicitly select a parity disk for RAID 4 when using MDADM.

View File

@@ -89,7 +89,7 @@ if ($lvl >= 4) {
print "</select></td> </tr>\n";
}
if ($lvl == 4) {
if ($lvl == 4 && $raid_mode ne 'mdadm') {
print "<tr> <td valign=top><b>$text{'create_pdisk'}</b></td>\n";
print "<td><select name=pdisk>\n";
print "<option value='' selected>$text{'create_auto'}\n";