summaryrefslogtreecommitdiff
path: root/distrib/amd64
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2009-04-12 12:56:03 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2009-04-12 12:56:03 +0000
commit7aca272d1c500528f268ce38363995c905235d0a (patch)
treed2038867d04f2af7f6d789d3d535d99a81d81406 /distrib/amd64
parent2ff52594a534350dc80c08c5d92691444d7343bb (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/amd64')
-rw-r--r--distrib/amd64/common/install.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/distrib/amd64/common/install.md b/distrib/amd64/common/install.md
index 7581a990548..ad6a118b668 100644
--- a/distrib/amd64/common/install.md
+++ b/distrib/amd64/common/install.md
@@ -1,4 +1,4 @@
-# $OpenBSD: install.md,v 1.12 2009/04/12 01:35:01 krw Exp $
+# $OpenBSD: install.md,v 1.13 2009/04/12 12:56:01 krw Exp $
#
#
# Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -88,7 +88,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 ;;