summaryrefslogtreecommitdiff
path: root/distrib/powerpc/ramdisk
diff options
context:
space:
mode:
authorDale Rahn <drahn@cvs.openbsd.org>2001-04-17 04:15:28 +0000
committerDale Rahn <drahn@cvs.openbsd.org>2001-04-17 04:15:28 +0000
commit778286906eca0e08654982c4b3042011339f9935 (patch)
tree729ceebee04cb4f63dc4381302636c662ea4a203 /distrib/powerpc/ramdisk
parent0c48d6b9748a7e2878a87a69b8da923b826726ac (diff)
Flush the in-core disklabel when running disklabel without the -r option,
such as editing a HFS partitioned disk. This is necessary because the OpenBSD partition entry in the HFS label may have just been added and the old disklabel did not contain the entry.
Diffstat (limited to 'distrib/powerpc/ramdisk')
-rw-r--r--distrib/powerpc/ramdisk/install.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/distrib/powerpc/ramdisk/install.md b/distrib/powerpc/ramdisk/install.md
index fc92c9391c5..a7ee46e8bb9 100644
--- a/distrib/powerpc/ramdisk/install.md
+++ b/distrib/powerpc/ramdisk/install.md
@@ -1,4 +1,4 @@
-# $OpenBSD: install.md,v 1.21 2001/04/13 01:29:24 krw Exp $
+# $OpenBSD: install.md,v 1.22 2001/04/17 04:15:27 drahn Exp $
#
#
# Copyright rc) 1996 The NetBSD Foundation, Inc.
@@ -362,7 +362,7 @@ __md_prep_disklabel_1
getresp ""
if [[ $disklabeltype = "HFS" ]]
then
- disklabel -f /tmp/fstab.${_disk} -E ${_disk}
+ disklabel -c -f /tmp/fstab.${_disk} -E ${_disk}
elif [[ $disklabeltype = "MBR" ]]
then
disklabel -W ${_disk}