From b294de3389ef86f3261202c035f47a77b9e18435 Mon Sep 17 00:00:00 2001 From: Kenneth R Westerback Date: Tue, 2 Jun 2009 16:23:46 +0000 Subject: Add '-h' flag, and '*' as a unit specifier for 'p' Editor command. Both cause partition sizes to be displayed using a human readable format with the units automatically chosen by looking at the smallest partition in the disk label. Remove forceable humanization in 'A' code and use '-h' in install scripts. Prodded & ok deraadt@, verbiage tweaks from jmc@ --- distrib/alpha/common/install.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'distrib/alpha/common') diff --git a/distrib/alpha/common/install.md b/distrib/alpha/common/install.md index 316e7598e29..ed7b58b2e55 100644 --- a/distrib/alpha/common/install.md +++ b/distrib/alpha/common/install.md @@ -1,4 +1,4 @@ -# $OpenBSD: install.md,v 1.29 2009/05/31 17:49:53 deraadt Exp $ +# $OpenBSD: install.md,v 1.30 2009/06/02 16:23:45 krw Exp $ # # Copyright (c) 1996 The NetBSD Foundation, Inc. # All rights reserved. @@ -55,7 +55,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 -h -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 ;; -- cgit v1.2.3