summaryrefslogtreecommitdiff
path: root/distrib
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
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')
-rw-r--r--distrib/alpha/common/install.md4
-rw-r--r--distrib/amd64/common/install.md4
-rw-r--r--distrib/armish/ramdisk/install.md4
-rw-r--r--distrib/hp300/ramdisk/install.md4
-rw-r--r--distrib/hppa/install.md4
-rw-r--r--distrib/i386/common/install.md4
-rw-r--r--distrib/landisk/ramdisk/install.md4
-rw-r--r--distrib/luna88k/ramdisk/install.md4
-rw-r--r--distrib/mac68k/ramdisk/install.md4
-rw-r--r--distrib/macppc/ramdisk/install.md4
-rw-r--r--distrib/mvme68k/ramdisk/install.md4
-rw-r--r--distrib/mvme88k/ramdisk/install.md4
-rw-r--r--distrib/sgi/ramdisk/install.md4
-rw-r--r--distrib/socppc/ramdisk/install.md4
-rw-r--r--distrib/sparc/install.md4
-rw-r--r--distrib/sparc64/common/install.md4
-rw-r--r--distrib/vax/install.md4
-rw-r--r--distrib/zaurus/ramdisk/install.md4
18 files changed, 36 insertions, 36 deletions
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 ;;
diff --git a/distrib/amd64/common/install.md b/distrib/amd64/common/install.md
index df66aca7a94..bf4a367044a 100644
--- a/distrib/amd64/common/install.md
+++ b/distrib/amd64/common/install.md
@@ -1,4 +1,4 @@
-# $OpenBSD: install.md,v 1.20 2009/05/31 17:49:53 deraadt Exp $
+# $OpenBSD: install.md,v 1.21 2009/06/02 16:23:45 krw Exp $
#
#
# Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -104,7 +104,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 ;;
diff --git a/distrib/armish/ramdisk/install.md b/distrib/armish/ramdisk/install.md
index 0fd079e7b60..278e9c3ce22 100644
--- a/distrib/armish/ramdisk/install.md
+++ b/distrib/armish/ramdisk/install.md
@@ -1,4 +1,4 @@
-# $OpenBSD: install.md,v 1.10 2009/05/11 17:13:07 deraadt Exp $
+# $OpenBSD: install.md,v 1.11 2009/06/02 16:23:45 krw Exp $
#
#
# Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -90,7 +90,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 ;;
diff --git a/distrib/hp300/ramdisk/install.md b/distrib/hp300/ramdisk/install.md
index a32e9817ba1..78a8846f008 100644
--- a/distrib/hp300/ramdisk/install.md
+++ b/distrib/hp300/ramdisk/install.md
@@ -1,4 +1,4 @@
-# $OpenBSD: install.md,v 1.52 2009/05/31 17:49:53 deraadt Exp $
+# $OpenBSD: install.md,v 1.53 2009/06/02 16:23:45 krw Exp $
# $NetBSD: install.md,v 1.1.2.4 1996/08/26 15:45:14 gwr Exp $
#
# Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -47,7 +47,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 ;;
diff --git a/distrib/hppa/install.md b/distrib/hppa/install.md
index 262c9ca9344..df278e0e525 100644
--- a/distrib/hppa/install.md
+++ b/distrib/hppa/install.md
@@ -1,4 +1,4 @@
-# $OpenBSD: install.md,v 1.13 2009/05/31 17:49:53 deraadt Exp $
+# $OpenBSD: install.md,v 1.14 2009/06/02 16:23:45 krw Exp $
#
# machine dependent section of installation/upgrade script.
#
@@ -18,7 +18,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 ;;
diff --git a/distrib/i386/common/install.md b/distrib/i386/common/install.md
index c5e57356031..23298737679 100644
--- a/distrib/i386/common/install.md
+++ b/distrib/i386/common/install.md
@@ -1,4 +1,4 @@
-# $OpenBSD: install.md,v 1.43 2009/05/31 17:49:53 deraadt Exp $
+# $OpenBSD: install.md,v 1.44 2009/06/02 16:23:45 krw Exp $
#
#
# Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -106,7 +106,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 ;;
diff --git a/distrib/landisk/ramdisk/install.md b/distrib/landisk/ramdisk/install.md
index b55ec02ae08..a770452154e 100644
--- a/distrib/landisk/ramdisk/install.md
+++ b/distrib/landisk/ramdisk/install.md
@@ -1,4 +1,4 @@
-# $OpenBSD: install.md,v 1.22 2009/05/31 17:49:53 deraadt Exp $
+# $OpenBSD: install.md,v 1.23 2009/06/02 16:23:45 krw Exp $
#
#
# Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -98,7 +98,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 ;;
diff --git a/distrib/luna88k/ramdisk/install.md b/distrib/luna88k/ramdisk/install.md
index b53371c2fda..4877c4503ea 100644
--- a/distrib/luna88k/ramdisk/install.md
+++ b/distrib/luna88k/ramdisk/install.md
@@ -1,4 +1,4 @@
-# $OpenBSD: install.md,v 1.10 2009/05/11 17:13:07 deraadt Exp $
+# $OpenBSD: install.md,v 1.11 2009/06/02 16:23:45 krw Exp $
# Copyright (c) 1996 The NetBSD Foundation, Inc.
# All rights reserved.
#
@@ -46,7 +46,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 ;;
diff --git a/distrib/mac68k/ramdisk/install.md b/distrib/mac68k/ramdisk/install.md
index a83eed0a518..9d220cbfcd7 100644
--- a/distrib/mac68k/ramdisk/install.md
+++ b/distrib/mac68k/ramdisk/install.md
@@ -1,4 +1,4 @@
-# $OpenBSD: install.md,v 1.34 2009/05/30 22:12:42 krw Exp $
+# $OpenBSD: install.md,v 1.35 2009/06/02 16:23:45 krw Exp $
#
# Copyright (c) 2002, Miodrag Vallat.
# All rights reserved.
@@ -78,7 +78,7 @@ __EOT
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 ;;
diff --git a/distrib/macppc/ramdisk/install.md b/distrib/macppc/ramdisk/install.md
index 90508a5c238..059f1081da7 100644
--- a/distrib/macppc/ramdisk/install.md
+++ b/distrib/macppc/ramdisk/install.md
@@ -1,4 +1,4 @@
-# $OpenBSD: install.md,v 1.42 2009/05/31 17:49:53 deraadt Exp $
+# $OpenBSD: install.md,v 1.43 2009/06/02 16:23:45 krw Exp $
#
#
# Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -170,7 +170,7 @@ __EOT
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 ;;
diff --git a/distrib/mvme68k/ramdisk/install.md b/distrib/mvme68k/ramdisk/install.md
index 3e648df4d84..fd8a9b0f2c1 100644
--- a/distrib/mvme68k/ramdisk/install.md
+++ b/distrib/mvme68k/ramdisk/install.md
@@ -1,4 +1,4 @@
-# $OpenBSD: install.md,v 1.37 2009/05/31 17:49:53 deraadt Exp $
+# $OpenBSD: install.md,v 1.38 2009/06/02 16:23:45 krw Exp $
# Copyright (c) 1996 The NetBSD Foundation, Inc.
# All rights reserved.
#
@@ -47,7 +47,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 ;;
diff --git a/distrib/mvme88k/ramdisk/install.md b/distrib/mvme88k/ramdisk/install.md
index bd25c8740b6..96691618553 100644
--- a/distrib/mvme88k/ramdisk/install.md
+++ b/distrib/mvme88k/ramdisk/install.md
@@ -1,4 +1,4 @@
-# $OpenBSD: install.md,v 1.35 2009/05/31 17:49:53 deraadt Exp $
+# $OpenBSD: install.md,v 1.36 2009/06/02 16:23:45 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 -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 ;;
diff --git a/distrib/sgi/ramdisk/install.md b/distrib/sgi/ramdisk/install.md
index 243eba119ed..a1771c78291 100644
--- a/distrib/sgi/ramdisk/install.md
+++ b/distrib/sgi/ramdisk/install.md
@@ -1,4 +1,4 @@
-# $OpenBSD: install.md,v 1.18 2009/05/30 04:01:29 miod Exp $
+# $OpenBSD: install.md,v 1.19 2009/06/02 16:23:45 krw Exp $
#
#
# Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -138,7 +138,7 @@ __EOT
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 ;;
diff --git a/distrib/socppc/ramdisk/install.md b/distrib/socppc/ramdisk/install.md
index f17b3786776..e7b69019206 100644
--- a/distrib/socppc/ramdisk/install.md
+++ b/distrib/socppc/ramdisk/install.md
@@ -1,4 +1,4 @@
-# $OpenBSD: install.md,v 1.8 2009/05/11 17:13:07 deraadt Exp $
+# $OpenBSD: install.md,v 1.9 2009/06/02 16:23:45 krw Exp $
#
#
# Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -90,7 +90,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 ;;
diff --git a/distrib/sparc/install.md b/distrib/sparc/install.md
index aee8a837a4d..48389a6c7a7 100644
--- a/distrib/sparc/install.md
+++ b/distrib/sparc/install.md
@@ -1,4 +1,4 @@
-# $OpenBSD: install.md,v 1.62 2009/05/31 17:49:53 deraadt Exp $
+# $OpenBSD: install.md,v 1.63 2009/06/02 16:23:45 krw Exp $
# $NetBSD: install.md,v 1.3.2.5 1996/08/26 15:45:28 gwr Exp $
#
#
@@ -64,7 +64,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 ;;
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 ;;
diff --git a/distrib/vax/install.md b/distrib/vax/install.md
index dc1e0f9ceff..3c609c2f631 100644
--- a/distrib/vax/install.md
+++ b/distrib/vax/install.md
@@ -1,4 +1,4 @@
-# $OpenBSD: install.md,v 1.33 2009/05/11 17:13:07 deraadt Exp $
+# $OpenBSD: install.md,v 1.34 2009/06/02 16:23:45 krw Exp $
# $NetBSD: install.md,v 1.3.2.5 1996/08/26 15:45:28 gwr Exp $
#
#
@@ -52,7 +52,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 ;;
diff --git a/distrib/zaurus/ramdisk/install.md b/distrib/zaurus/ramdisk/install.md
index 1ce074177cc..3a27afa6b63 100644
--- a/distrib/zaurus/ramdisk/install.md
+++ b/distrib/zaurus/ramdisk/install.md
@@ -1,4 +1,4 @@
-# $OpenBSD: install.md,v 1.21 2009/05/11 17:13:07 deraadt Exp $
+# $OpenBSD: install.md,v 1.22 2009/06/02 16:23:45 krw Exp $
#
#
# Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -84,7 +84,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 ;;