summaryrefslogtreecommitdiff
path: root/distrib/sparc64
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2009-06-02 16:23:46 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2009-06-02 16:23:46 +0000
commitb294de3389ef86f3261202c035f47a77b9e18435 (patch)
treef6d01089269d31ea876b4aa6863711351bfadbac /distrib/sparc64
parentda5b5ff410d49e53c9352edc0f04e3f54516fa23 (diff)
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@
Diffstat (limited to 'distrib/sparc64')
-rw-r--r--distrib/sparc64/common/install.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/distrib/sparc64/common/install.md b/distrib/sparc64/common/install.md
index 76a7eedbc14..74737b92ac2 100644
--- a/distrib/sparc64/common/install.md
+++ b/distrib/sparc64/common/install.md
@@ -1,4 +1,4 @@
-# $OpenBSD: install.md,v 1.31 2009/05/31 17:49:53 deraadt Exp $
+# $OpenBSD: install.md,v 1.32 2009/06/02 16:23:45 krw Exp $
# $NetBSD: install.md,v 1.3.2.5 1996/08/26 15:45:28 gwr Exp $
#
#
@@ -74,7 +74,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 ;;