summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkrw <krw@openbsd.org>2019-04-03 01:10:30 +0000
committerkrw <krw@openbsd.org>2019-04-03 01:10:30 +0000
commite485502d508cbcee8559bd9784fe38c43c6e071f (patch)
tree7eafac30809d4b7be3102699457c9a53d112566b
parentactually use the words "split-horizon" when talking about vpls bridge setup (diff)
downloadwireguard-openbsd-e485502d508cbcee8559bd9784fe38c43c6e071f.tar.xz
wireguard-openbsd-e485502d508cbcee8559bd9784fe38c43c6e071f.zip
Add comment to prod updates to regress/sbin/disklabel
*.ok files whenever space_allocation tables are modified.
-rw-r--r--sbin/disklabel/editor.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/sbin/disklabel/editor.c b/sbin/disklabel/editor.c
index 00758d6420f..9e3b8e6e301 100644
--- a/sbin/disklabel/editor.c
+++ b/sbin/disklabel/editor.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: editor.c,v 1.358 2019/04/02 01:47:49 krw Exp $ */
+/* $OpenBSD: editor.c,v 1.359 2019/04/03 01:10:30 krw Exp $ */
/*
* Copyright (c) 1997-2000 Todd C. Miller <millert@openbsd.org>
@@ -80,6 +80,12 @@ struct space_allocation {
char *mp;
};
+/*
+ * NOTE! Changing partition sizes in the space_allocation tables
+ * requires corresponding updates to the *.ok files in
+ * /usr/src/regress/sbin/disklabel.
+ */
+
/* entries for swap and var are changed by editor_allocspace() */
struct space_allocation alloc_big[] = {
{ MEG(150), GIG(1), 5, "/" },