uses disklabel UIDs unconditionally for a while already.
OK krw@
"looks good" deraadt@
-# $OpenBSD: install.md,v 1.40 2015/05/31 19:40:10 rpe Exp $
+# $OpenBSD: install.md,v 1.41 2015/06/02 19:54:06 rpe Exp $
#
# Copyright (c) 1996 The NetBSD Foundation, Inc.
# All rights reserved.
__EOT
- disklabel $FSTABFLAG $_f -E $_disk
+ disklabel -F $_f -E $_disk
}
md_congrats() {
-# $OpenBSD: install.md,v 1.40 2015/06/02 19:39:18 rpe Exp $
+# $OpenBSD: install.md,v 1.41 2015/06/02 19:54:06 rpe Exp $
#
#
# Copyright (c) 1996 The NetBSD Foundation, Inc.
__EOT
- disklabel $FSTABFLAG $_f -E $_disk
+ disklabel -F $_f -E $_disk
}
md_congrats() {
-# $OpenBSD: install.md,v 1.19 2015/06/02 19:39:18 rpe Exp $
+# $OpenBSD: install.md,v 1.20 2015/06/02 19:54:06 rpe Exp $
#
#
# Copyright (c) 1996 The NetBSD Foundation, Inc.
__EOT
- disklabel $FSTABFLAG $_f -E $_disk
+ disklabel -F $_f -E $_disk
}
md_congrats() {
-# $OpenBSD: install.md,v 1.11 2015/06/02 19:39:19 rpe Exp $
+# $OpenBSD: install.md,v 1.12 2015/06/02 19:54:06 rpe Exp $
#
#
# Copyright (c) 1996 The NetBSD Foundation, Inc.
__EOT
- disklabel $FSTABFLAG $_f -E $_disk
+ disklabel -F $_f -E $_disk
}
md_congrats() {
-# $OpenBSD: install.md,v 1.8 2015/05/31 21:21:10 rpe Exp $
+# $OpenBSD: install.md,v 1.9 2015/06/02 19:54:06 rpe Exp $
# Copyright (c) 1996 The NetBSD Foundation, Inc.
# All rights reserved.
#
__EOT
- disklabel $FSTABFLAG $_f -E $_disk
+ disklabel -F $_f -E $_disk
}
md_congrats() {
-# $OpenBSD: install.md,v 1.29 2015/05/31 19:40:10 rpe Exp $
+# $OpenBSD: install.md,v 1.30 2015/06/02 19:54:06 rpe Exp $
#
# machine dependent section of installation/upgrade script.
#
__EOT
- disklabel $FSTABFLAG $_f -E $_disk
+ disklabel -F $_f -E $_disk
}
md_congrats() {
-# $OpenBSD: install.md,v 1.63 2015/06/02 19:39:19 rpe Exp $
+# $OpenBSD: install.md,v 1.64 2015/06/02 19:54:06 rpe Exp $
#
#
# Copyright (c) 1996 The NetBSD Foundation, Inc.
__EOT
- disklabel $FSTABFLAG $_f -E $_disk
+ disklabel -F $_f -E $_disk
}
md_congrats() {
-# $OpenBSD: install.md,v 1.33 2015/06/02 19:39:19 rpe Exp $
+# $OpenBSD: install.md,v 1.34 2015/06/02 19:54:06 rpe Exp $
#
#
# Copyright (c) 1996 The NetBSD Foundation, Inc.
__EOT
- disklabel $FSTABFLAG $_f -E $_disk
+ disklabel -F $_f -E $_disk
}
md_congrats() {
-# $OpenBSD: install.md,v 1.18 2015/05/31 19:40:10 rpe Exp $
+# $OpenBSD: install.md,v 1.19 2015/06/02 19:54:06 rpe Exp $
#
#
# Copyright (c) 1996 The NetBSD Foundation, Inc.
__EOT
- disklabel $FSTABFLAG $_f -E $_disk
+ disklabel -F $_f -E $_disk
}
md_congrats() {
-# $OpenBSD: install.md,v 1.20 2015/05/31 19:40:10 rpe Exp $
+# $OpenBSD: install.md,v 1.21 2015/06/02 19:54:06 rpe Exp $
# Copyright (c) 1996 The NetBSD Foundation, Inc.
# All rights reserved.
#
in this program.
__EOT
- disklabel $FSTABFLAG $_f -E $_disk
+ disklabel -F $_f -E $_disk
}
md_congrats() {
-# $OpenBSD: install.md,v 1.58 2015/05/31 19:40:10 rpe Exp $
+# $OpenBSD: install.md,v 1.59 2015/06/02 19:54:06 rpe Exp $
#
#
# Copyright (c) 1996 The NetBSD Foundation, Inc.
__EOT
- disklabel $FSTABFLAG $_f -E $_disk
+ disklabel -F $_f -E $_disk
}
md_congrats() {
#!/bin/ksh
-# $OpenBSD: install.sh,v 1.267 2015/05/15 07:41:30 rpe Exp $
+# $OpenBSD: install.sh,v 1.268 2015/06/02 19:54:06 rpe Exp $
# $NetBSD: install.sh,v 1.5.2.8 1996/08/27 18:15:05 gwr Exp $
#
# Copyright (c) 1997-2015 Todd Miller, Theo de Raadt, Ken Westerback
# Deal with disklabels, including editing the root disklabel
# and labeling additional disks. This is machine-dependent since
# some platforms may not be able to provide this functionality.
- # /tmp/fstab.$DISK is created here with 'disklabel -f' or
- # 'disklabel -F' depending on the value of $FSTABFLAG.
+ # /tmp/fstab.$DISK is created here with 'disklabel -F'.
rm -f /tmp/*.$DISK
md_prep_disklabel $DISK || { DISK=; continue; }
-# $OpenBSD: install.sub,v 1.842 2015/05/31 19:40:10 rpe Exp $
+# $OpenBSD: install.sub,v 1.843 2015/06/02 19:54:06 rpe Exp $
#
# Copyright (c) 1997-2015 Todd Miller, Theo de Raadt, Ken Westerback
# Copyright (c) 2015, Robert Peichaer <rpe@openbsd.org>
[[ $resp == none ]] && break
echo "Fetching $resp"
if ftp -Vo $_dl "$resp" && [[ -s $_dl ]]; then
- disklabel -T $_dl $FSTABFLAG $_f -w -A $_disk && return
+ disklabel -T $_dl -F $_f -w -A $_disk && return
echo "Autopartitioning failed"
exit 1
else
c*|C*) return 0 ;;
*) continue ;;
esac
- disklabel $FSTABFLAG $_f $_op -A $_disk
+ disklabel -F $_f $_op -A $_disk
return
done
}
HTTP_SEC=/tmp/httpsec
HTTP_LIST=/tmp/httplist
WLANLIST=/tmp/wlanlist
-FSTABFLAG=-F
# Do not limit ourselves during installs or upgrades.
for _opt in d f l m n p s; do
-# $OpenBSD: install.md,v 1.9 2015/06/02 19:39:19 rpe Exp $
+# $OpenBSD: install.md,v 1.10 2015/06/02 19:54:06 rpe Exp $
#
#
# Copyright (c) 1996 The NetBSD Foundation, Inc.
__EOT
- disklabel $FSTABFLAG $_f -E $_disk
+ disklabel -F $_f -E $_disk
}
md_congrats() {
-# $OpenBSD: install.md,v 1.35 2015/05/31 19:40:10 rpe Exp $
+# $OpenBSD: install.md,v 1.36 2015/06/02 19:54:06 rpe Exp $
#
#
# Copyright (c) 1996 The NetBSD Foundation, Inc.
Do not change any parameters except the partition layout and the label name.
__EOT
- disklabel -c $FSTABFLAG /tmp/fstab.$_disk -E $_disk
+ disklabel -c -F /tmp/fstab.$_disk -E $_disk
}
md_congrats() {
-# $OpenBSD: install.md,v 1.21 2015/06/02 19:39:19 rpe Exp $
+# $OpenBSD: install.md,v 1.22 2015/06/02 19:54:06 rpe Exp $
#
#
# Copyright (c) 1996 The NetBSD Foundation, Inc.
__EOT
- disklabel $FSTABFLAG $_f -E $_disk
+ disklabel -F $_f -E $_disk
}
md_congrats() {
-# $OpenBSD: install.md,v 1.72 2015/05/31 19:40:10 rpe Exp $
+# $OpenBSD: install.md,v 1.73 2015/06/02 19:54:07 rpe Exp $
# $NetBSD: install.md,v 1.3.2.5 1996/08/26 15:45:28 gwr Exp $
#
#
in this program.
__EOT
- disklabel $FSTABFLAG $_f -E $_disk
+ disklabel -F $_f -E $_disk
}
md_congrats() {
-# $OpenBSD: install.md,v 1.44 2015/05/31 19:40:11 rpe Exp $
+# $OpenBSD: install.md,v 1.45 2015/06/02 19:54:07 rpe Exp $
# $NetBSD: install.md,v 1.3.2.5 1996/08/26 15:45:28 gwr Exp $
#
#
__EOT
- disklabel $FSTABFLAG $_f -E $_disk
+ disklabel -F $_f -E $_disk
}
md_congrats() {
-# $OpenBSD: install.md,v 1.44 2015/05/31 19:40:11 rpe Exp $
+# $OpenBSD: install.md,v 1.45 2015/06/02 19:54:07 rpe Exp $
# $NetBSD: install.md,v 1.3.2.5 1996/08/26 15:45:28 gwr Exp $
#
#
__EOT
- disklabel $FSTABFLAG $_f -E $_disk
+ disklabel -F $_f -E $_disk
}
md_congrats() {
-# $OpenBSD: install.md,v 1.34 2015/06/02 19:39:19 rpe Exp $
+# $OpenBSD: install.md,v 1.35 2015/06/02 19:54:07 rpe Exp $
#
#
# Copyright (c) 1996 The NetBSD Foundation, Inc.
__EOT
- disklabel $FSTABFLAG $_f -E $_disk
+ disklabel -F $_f -E $_disk
}
md_congrats() {