diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2009-04-12 12:56:03 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2009-04-12 12:56:03 +0000 |
commit | 7aca272d1c500528f268ce38363995c905235d0a (patch) | |
tree | d2038867d04f2af7f6d789d3d535d99a81d81406 /distrib/alpha | |
parent | 2ff52594a534350dc80c08c5d92691444d7343bb (diff) |
Tweak pattern used to select partition lines for display so the
'# /dev/r...' line is not selected.
Noticed by deraadt@
Diffstat (limited to 'distrib/alpha')
-rw-r--r-- | distrib/alpha/common/install.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/distrib/alpha/common/install.md b/distrib/alpha/common/install.md index 698ccdff50c..2cb86333833 100644 --- a/distrib/alpha/common/install.md +++ b/distrib/alpha/common/install.md @@ -1,4 +1,4 @@ -# $OpenBSD: install.md,v 1.26 2009/04/12 01:35:00 krw Exp $ +# $OpenBSD: install.md,v 1.27 2009/04/12 12:56:01 krw Exp $ # # Copyright (c) 1996 The NetBSD Foundation, Inc. # All rights reserved. @@ -57,7 +57,7 @@ md_prep_disklabel() { if [[ $_disk == $ROOTDISK ]]; then while :; do echo "The auto-allocated layout for $_disk is:" - disklabel -A $_disk | egrep "^#|^ [a-p]:" + disklabel -A $_disk | egrep "^# |^ [a-p]:" ask "Use (A)uto layout, (E)dit auto layout, or create (C)ustom layout?" a case $resp in a*|A*) _op=-w ; AUTOROOT=y ;; |