Module Name:    src
Committed By:   martin
Date:           Thu Nov 15 10:34:21 UTC 2018

Modified Files:
        src/usr.sbin/sysinst: bsddisklabel.c mbr.c msg.mbr.de msg.mbr.en
            msg.mbr.es msg.mbr.fr msg.mbr.pl msg.mi.de msg.mi.en msg.mi.es
            msg.mi.fr msg.mi.pl
Added Files:
        src/usr.sbin/sysinst: defsizes.h

Log Message:
Make use of the new positional parameters to better describe the first
partitioning step. Remove size limits/hints encoded in the translations
and replace them by values from the code.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/usr.sbin/sysinst/bsddisklabel.c \
    src/usr.sbin/sysinst/msg.mbr.fr
cvs rdiff -u -r0 -r1.1 src/usr.sbin/sysinst/defsizes.h
cvs rdiff -u -r1.6 -r1.7 src/usr.sbin/sysinst/mbr.c
cvs rdiff -u -r1.2 -r1.3 src/usr.sbin/sysinst/msg.mbr.de \
    src/usr.sbin/sysinst/msg.mbr.en src/usr.sbin/sysinst/msg.mbr.es \
    src/usr.sbin/sysinst/msg.mbr.pl
cvs rdiff -u -r1.9 -r1.10 src/usr.sbin/sysinst/msg.mi.de \
    src/usr.sbin/sysinst/msg.mi.es
cvs rdiff -u -r1.13 -r1.14 src/usr.sbin/sysinst/msg.mi.en
cvs rdiff -u -r1.12 -r1.13 src/usr.sbin/sysinst/msg.mi.fr
cvs rdiff -u -r1.11 -r1.12 src/usr.sbin/sysinst/msg.mi.pl

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.sbin/sysinst/bsddisklabel.c
diff -u src/usr.sbin/sysinst/bsddisklabel.c:1.4 src/usr.sbin/sysinst/bsddisklabel.c:1.5
--- src/usr.sbin/sysinst/bsddisklabel.c:1.4	Sun Jun  3 13:16:30 2018
+++ src/usr.sbin/sysinst/bsddisklabel.c	Thu Nov 15 10:34:21 2018
@@ -1,4 +1,4 @@
-/*	$NetBSD: bsddisklabel.c,v 1.4 2018/06/03 13:16:30 martin Exp $	*/
+/*	$NetBSD: bsddisklabel.c,v 1.5 2018/11/15 10:34:21 martin Exp $	*/
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -48,6 +48,7 @@
 #include <dirent.h>
 #include "defs.h"
 #include "md.h"
+#include "defsizes.h"
 #include "endian.h"
 #include "msg_defs.h"
 #include "menu_defs.h"
@@ -70,19 +71,6 @@
 #define PART_USR	PART_ANY
 #endif
 
-#ifndef DEFVARSIZE
-#define DEFVARSIZE	32
-#endif
-#ifndef DEFROOTSIZE
-#define DEFROOTSIZE	32
-#endif
-#ifndef DEFUSRSIZE
-#define DEFUSRSIZE	128
-#endif
-#ifndef DEFSWAPSIZE
-#define DEFSWAPSIZE	128
-#endif
-
 int
 save_ptn(int ptn, daddr_t start, daddr_t size, int fstype, const char *mountpt)
 {
Index: src/usr.sbin/sysinst/msg.mbr.fr
diff -u src/usr.sbin/sysinst/msg.mbr.fr:1.4 src/usr.sbin/sysinst/msg.mbr.fr:1.5
--- src/usr.sbin/sysinst/msg.mbr.fr:1.4	Mon Apr 20 14:10:31 2015
+++ src/usr.sbin/sysinst/msg.mbr.fr	Thu Nov 15 10:34:21 2018
@@ -1,4 +1,4 @@
-/*	$NetBSD: msg.mbr.fr,v 1.4 2015/04/20 14:10:31 maxv Exp $	*/
+/*	$NetBSD: msg.mbr.fr,v 1.5 2018/11/15 10:34:21 martin Exp $	*/
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -34,14 +34,24 @@
 
 /* MD Message catalog -- french, i386 version */
 
+
+/* Called with:				Example
+ *  $0 = device name			wd0
+ *  $1 = outer partitioning name	Master Boot Record (MBR)
+ *  $2 = inner partitioning name	BSD disklabel
+ *  $3 = short version of $1		MBR
+ *  $4 = short version of $2		disklabel
+ *  $5 = size needed for NetBSD		250M
+ *  $6 = size needed to build NetBSD	15G
+ */
 message fullpart
-{Nous allons maintenant installer NetBSD sur votre disque %s. Vous devez
+{Nous allons maintenant installer NetBSD sur votre disque $0. Vous devez
 choisir si vous voulez installer NetBSD sur la totalité du disque ou seulement
 sur une partie de celui-ci.
 Une installation sur une partie du disque crée une partition, ou `slice', pour
-NetBSD dans le secteur de démarrage (Master Boot Record, alias MBR) de votre
+NetBSD dans le secteur de démarrage ($1) de votre
 disque. Une installation sur la totalité du disque est `dangereusement
-dédiée' : elle réinitialise complčtement le MBR, ce qui efface tout systčme
+dédiée' : elle réinitialise complčtement le $3, ce qui efface tout systčme
 d'exploitation ou données existants sur le disque. Cela rend également
 impossible l'installation ultérieure d'un deuxičme systčme d'exploitation,
 sauf si vous réinstallez complčtement NetBSD en utilisant uniquement une

Index: src/usr.sbin/sysinst/mbr.c
diff -u src/usr.sbin/sysinst/mbr.c:1.6 src/usr.sbin/sysinst/mbr.c:1.7
--- src/usr.sbin/sysinst/mbr.c:1.6	Sun Jun  3 13:16:30 2018
+++ src/usr.sbin/sysinst/mbr.c	Thu Nov 15 10:34:21 2018
@@ -1,4 +1,4 @@
-/*	$NetBSD: mbr.c,v 1.6 2018/06/03 13:16:30 martin Exp $ */
+/*	$NetBSD: mbr.c,v 1.7 2018/11/15 10:34:21 martin Exp $ */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -75,6 +75,7 @@
 #include "md.h"
 #include "msg_defs.h"
 #include "menu_defs.h"
+#include "defsizes.h"
 #include "endian.h"
 
 #define NO_BOOTMENU (-0x100)
@@ -1277,7 +1278,24 @@ edit_mbr(mbr_info_t *mbri)
 	if (partman_go)
 		usefull = 0;
 	else {
-		msg_display(MSG_fullpart, pm->diskdev);
+		uint64_t m_size =
+		    DEFROOTSIZE + DEFSWAPSIZE + DEFUSRSIZE + XNEEDMB;
+		char min_size[5], build_size[5];
+
+		humanize_number(min_size, sizeof(min_size),
+		    3 * m_size * 1024*1024UL,
+		    "", HN_AUTOSCALE, HN_B | HN_NOSPACE | HN_DECIMAL);
+		humanize_number(build_size, sizeof(build_size),
+		     SYSTEM_BUILD_SIZE * 1024 * 1024UL, "", HN_AUTOSCALE,
+		     HN_B | HN_NOSPACE | HN_DECIMAL);
+
+		msg_display_subst(MSG_fullpart, 7,
+		    pm->diskdev,
+		    msg_string(MSG_parttype_mbr),
+		    msg_string(MSG_parttype_disklabel),
+		    msg_string(MSG_parttype_mbr_short),
+		    msg_string(MSG_parttype_disklabel_short),
+		    min_size, build_size);
 		process_menu(MENU_fullpart, &usefull);
 	}
 

Index: src/usr.sbin/sysinst/msg.mbr.de
diff -u src/usr.sbin/sysinst/msg.mbr.de:1.2 src/usr.sbin/sysinst/msg.mbr.de:1.3
--- src/usr.sbin/sysinst/msg.mbr.de:1.2	Sun Aug  3 16:09:38 2014
+++ src/usr.sbin/sysinst/msg.mbr.de	Thu Nov 15 10:34:21 2018
@@ -1,4 +1,4 @@
-/*	$NetBSD: msg.mbr.de,v 1.2 2014/08/03 16:09:38 martin Exp $	*/
+/*	$NetBSD: msg.mbr.de,v 1.3 2018/11/15 10:34:21 martin Exp $	*/
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -36,21 +36,29 @@
 
 /* NB: Lines ending in spaces force line breaks */
 
+/* Called with:				Example
+ *  $0 = device name			wd0
+ *  $1 = outer partitioning name	Master Boot Record (MBR)
+ *  $2 = inner partitioning name	BSD disklabel
+ *  $3 = short version of $1		MBR
+ *  $4 = short version of $2		disklabel
+ *  $5 = size needed for NetBSD		250M
+ *  $6 = size needed to build NetBSD	15G
+ */
 message fullpart
-{NetBSD wird auf die Festplatte %s installiert.
-
-NetBSD benötigt eine eigene Partition in der Partitionstabelle des Master
-Boot Record (MBR). Diese Partition wird später durch das NetBSD-Disklabel
-weiter aufgeteilt. NetBSD kann auch auf Dateisysteme zugreifen, die in
-anderen MBR-Partitionen definiert werden.
-
-Wenn Sie 'Die ganze Festplatte nutzen' auswählen, werden alle MBR-Partitionen
-gelöscht und eine NetBSD-Partition für die gesamte Festplatte erstellt.
-Wenn Sie mehr als ein Betriebssystem installieren möchten, bearbeiten Sie
-die MBR-Partitionstabelle und erstellen eine kleinere NetBSD Partition.
+{NetBSD wird auf die Festplatte $0 installiert.
 
-Einige hundert MB reichen für eine Basisinstallation, allerdings sollten
-Sie auch Platz für zusätzliche Software und Anwenderdaten einkalkulieren.
+NetBSD benötigt eine eigene Partition im $1. Diese Partition
+wird später durch das $2 weiter aufgeteilt.
+NetBSD kann auch auf Dateisysteme in anderen $3-Partitionen zugreifen.
+
+'Die ganze Festplatte nutzen' löscht alle vorhandenen $3-Partitionen.
+Um auch andere Betriebssysteme zu nutzen, erstellen Sie eine
+$3 Partition.
+
+Etwa $5 reichen für eine Basisinstallation, aber Sie sollten
+zusätzlichen Platz für Erweiterungen und Benutzerdateien einrechnen. 
+Reservieren Sie mindestens $6 wenn Sie NetBSD selbst compilieren möchten.
 }
 
 message Select_your_choice
Index: src/usr.sbin/sysinst/msg.mbr.en
diff -u src/usr.sbin/sysinst/msg.mbr.en:1.2 src/usr.sbin/sysinst/msg.mbr.en:1.3
--- src/usr.sbin/sysinst/msg.mbr.en:1.2	Sun Aug  3 16:09:38 2014
+++ src/usr.sbin/sysinst/msg.mbr.en	Thu Nov 15 10:34:21 2018
@@ -1,4 +1,4 @@
-/*	$NetBSD: msg.mbr.en,v 1.2 2014/08/03 16:09:38 martin Exp $	*/
+/*	$NetBSD: msg.mbr.en,v 1.3 2018/11/15 10:34:21 martin Exp $	*/
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -36,22 +36,32 @@
 
 /* NB: Lines ending in spaces force line breaks */
 
+
+/* Called with:				Example
+ *  $0 = device name			wd0
+ *  $1 = outer partitioning name	Master Boot Record (MBR)
+ *  $2 = inner partitioning name	BSD disklabel
+ *  $3 = short version of $1		MBR
+ *  $4 = short version of $2		disklabel
+ *  $5 = size needed for NetBSD		250M
+ *  $6 = size needed to build NetBSD	15G
+ */
 message fullpart
-{We are now going to install NetBSD on the disk %s.
+{We are now going to install NetBSD on the disk $0.
 
-NetBSD requires a single partition in the disk's MBR partition table,
-this is split further by the NetBSD disklabel.
-NetBSD can also access file systems in other MBR partitions.
+NetBSD requires a single partition in the disk's $1
+partition table, this is split further by the $2.
+NetBSD can also access file systems in other $3 partitions.
 
 If you select 'Use the entire disk' then the previous contents of the
-disk will be overwritten and a single MBR partition used to cover the
+disk will be overwritten and a single $3 partition used to cover the
 entire disk. 
 If you want to install more than one operating system then edit the
-MBR partition table and create a partition for NetBSD.
+$3 partition table and create a partition for NetBSD.
 
-A few hundred MB is enough for a basic installation, but you should allow
+About $5 is enough for a basic installation, but you should allow
 extra for additional software and user files. 
-Allow at least 5GB if you want to build NetBSD itself.
+Allow at least $6 if you want to build NetBSD itself.
 }
 
 message Select_your_choice
Index: src/usr.sbin/sysinst/msg.mbr.es
diff -u src/usr.sbin/sysinst/msg.mbr.es:1.2 src/usr.sbin/sysinst/msg.mbr.es:1.3
--- src/usr.sbin/sysinst/msg.mbr.es:1.2	Sun Aug  3 16:09:38 2014
+++ src/usr.sbin/sysinst/msg.mbr.es	Thu Nov 15 10:34:21 2018
@@ -1,4 +1,4 @@
-/*	$NetBSD: msg.mbr.es,v 1.2 2014/08/03 16:09:38 martin Exp $	*/
+/*	$NetBSD: msg.mbr.es,v 1.3 2018/11/15 10:34:21 martin Exp $	*/
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -36,21 +36,31 @@
 
 /* NB: Lines ending in spaces force line breaks */
 
+
+/* Called with:				Example
+ *  $0 = device name			wd0
+ *  $1 = outer partitioning name	Master Boot Record (MBR)
+ *  $2 = inner partitioning name	BSD disklabel
+ *  $3 = short version of $1		MBR
+ *  $4 = short version of $2		disklabel
+ *  $5 = size needed for NetBSD		250M
+ *  $6 = size needed to build NetBSD	15G
+ */
 message fullpart
-{Se va a instalar NetBSD en el disco %s.
+{Se va a instalar NetBSD en el disco $0.
 
-NetBSD requiere una sola partición en la tabla de particiones MBR del disco,
-que es subsiguientemente dividida por el disklabel de NetBSD.
-NetBSD también puede acceder a sistemas de ficheros de otras particiones MBR.
+NetBSD requiere una sola partición en la tabla de particiones $1 del disco,
+que es subsiguientemente dividida por el $2.
+NetBSD también puede acceder a sistemas de ficheros de otras particiones $3.
 
 Si selecciona 'Usar todo el disco', se sobreescribirá el contenido anterior
-del disco, y se usará una sola partición MBR para cubrir todo el disco. 
+del disco, y se usará una sola partición $3 para cubrir todo el disco. 
 Si desea instalar más de un sistema operativo, edite la tabla de particiones
-MBR y cree una partición para NetBSD.
+$3 y cree una partición para NetBSD.
 
-Para una instalación básica bastan unos pocos cientos de MB, pero deberá
+Para una instalación básica bastan unos pocos $5, pero deberá
 dejar espacio extra para programas adicionales y los ficheros de usuario. 
-Proporcione al menos 5 GB si quiere construir el propio NetBSD.
+Proporcione al menos $6 si quiere construir el propio NetBSD.
 }
 
 message Select_your_choice
Index: src/usr.sbin/sysinst/msg.mbr.pl
diff -u src/usr.sbin/sysinst/msg.mbr.pl:1.2 src/usr.sbin/sysinst/msg.mbr.pl:1.3
--- src/usr.sbin/sysinst/msg.mbr.pl:1.2	Sun Aug  3 16:09:38 2014
+++ src/usr.sbin/sysinst/msg.mbr.pl	Thu Nov 15 10:34:21 2018
@@ -1,4 +1,4 @@
-/*	$NetBSD: msg.mbr.pl,v 1.2 2014/08/03 16:09:38 martin Exp $	*/
+/*	$NetBSD: msg.mbr.pl,v 1.3 2018/11/15 10:34:21 martin Exp $	*/
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -34,13 +34,23 @@
 
 /* MBR Message catalog -- Polish, i386 version */
 
+
+/* Called with:				Example
+ *  $0 = device name			wd0
+ *  $1 = outer partitioning name	Master Boot Record (MBR)
+ *  $2 = inner partitioning name	BSD disklabel
+ *  $3 = short version of $1		MBR
+ *  $4 = short version of $2		disklabel
+ *  $5 = size needed for NetBSD		250M
+ *  $6 = size needed to build NetBSD	15G
+ */
 message fullpart
-{Zainstalujemy teraz NetBSD na dysku %s. Mozesz wybrac, czy chcesz
+{Zainstalujemy teraz NetBSD na dysku $0. Mozesz wybrac, czy chcesz
 zainstalowac NetBSD na calym dysku, czy tylko na jego czesci.
 
 Instalacja na czesci dysku, tworzy partycje, lub 'plaster', dla NetBSD
-w tablicy partycji MBR twojego dysku. Instalacja na calym dysku jest
-`zdecydowanie polecana': zabiera ona caly MBR. Spowoduje to calkowita
+w tablicy partycji $3 twojego dysku. Instalacja na calym dysku jest
+`zdecydowanie polecana': zabiera ona caly $3. Spowoduje to calkowita
 utrate danych na dysku. Uniemozliwia ona take pozniejsza instalacje kilku
 systemow na tym dysku (chyba, ze nadpiszesz NetBSD i przeinstalujesz uzywajac
 tylko czesci dysku).

Index: src/usr.sbin/sysinst/msg.mi.de
diff -u src/usr.sbin/sysinst/msg.mi.de:1.9 src/usr.sbin/sysinst/msg.mi.de:1.10
--- src/usr.sbin/sysinst/msg.mi.de:1.9	Sat Nov  3 18:30:00 2018
+++ src/usr.sbin/sysinst/msg.mi.de	Thu Nov 15 10:34:21 2018
@@ -1,4 +1,4 @@
-/*	$NetBSD: msg.mi.de,v 1.9 2018/11/03 18:30:00 martin Exp $	*/
+/*	$NetBSD: msg.mi.de,v 1.10 2018/11/15 10:34:21 martin Exp $	*/
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -1269,3 +1269,8 @@ scheint bereits auf der Festplatte %s zu
 Möchten Sie diese benutzen?}
 
 
+message parttype_mbr {Master Boot Record (MBR)}
+message parttype_mbr_short {MBR}
+message parttype_disklabel {BSD disklabel}
+message parttype_disklabel_short {disklabel}
+
Index: src/usr.sbin/sysinst/msg.mi.es
diff -u src/usr.sbin/sysinst/msg.mi.es:1.9 src/usr.sbin/sysinst/msg.mi.es:1.10
--- src/usr.sbin/sysinst/msg.mi.es:1.9	Sat Nov  3 18:30:00 2018
+++ src/usr.sbin/sysinst/msg.mi.es	Thu Nov 15 10:34:21 2018
@@ -1,4 +1,4 @@
-/*	$NetBSD: msg.mi.es,v 1.9 2018/11/03 18:30:00 martin Exp $	*/
+/*	$NetBSD: msg.mi.es,v 1.10 2018/11/15 10:34:21 martin Exp $	*/
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -1248,4 +1248,8 @@ message Auto_add_swap_part
 {A swap partition (named %s) seems to exist on %s. 
 Do you want to use that?}
 
+message parttype_mbr {Master Boot Record (MBR)}
+message parttype_mbr_short {MBR}
+message parttype_disklabel {BSD disklabel}
+message parttype_disklabel_short {disklabel}
 

Index: src/usr.sbin/sysinst/msg.mi.en
diff -u src/usr.sbin/sysinst/msg.mi.en:1.13 src/usr.sbin/sysinst/msg.mi.en:1.14
--- src/usr.sbin/sysinst/msg.mi.en:1.13	Sat Nov  3 18:30:00 2018
+++ src/usr.sbin/sysinst/msg.mi.en	Thu Nov 15 10:34:21 2018
@@ -1,4 +1,4 @@
-/*	$NetBSD: msg.mi.en,v 1.13 2018/11/03 18:30:00 martin Exp $	*/
+/*	$NetBSD: msg.mi.en,v 1.14 2018/11/15 10:34:21 martin Exp $	*/
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -1194,3 +1194,8 @@ message Auto_add_swap_part
 {A swap partition (named %s) seems to exist on %s. 
 Do you want to use that?}
 
+message parttype_mbr {Master Boot Record (MBR)}
+message parttype_mbr_short {MBR}
+message parttype_disklabel {BSD disklabel}
+message parttype_disklabel_short {disklabel}
+

Index: src/usr.sbin/sysinst/msg.mi.fr
diff -u src/usr.sbin/sysinst/msg.mi.fr:1.12 src/usr.sbin/sysinst/msg.mi.fr:1.13
--- src/usr.sbin/sysinst/msg.mi.fr:1.12	Sat Nov  3 18:30:00 2018
+++ src/usr.sbin/sysinst/msg.mi.fr	Thu Nov 15 10:34:21 2018
@@ -1,4 +1,4 @@
-/*	$NetBSD: msg.mi.fr,v 1.12 2018/11/03 18:30:00 martin Exp $	*/
+/*	$NetBSD: msg.mi.fr,v 1.13 2018/11/15 10:34:21 martin Exp $	*/
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -1307,3 +1307,8 @@ message Auto_add_swap_part
 Do you want to use that?}
 
 
+message parttype_mbr {Master Boot Record (MBR)}
+message parttype_mbr_short {MBR}
+message parttype_disklabel {BSD disklabel}
+message parttype_disklabel_short {disklabel}
+

Index: src/usr.sbin/sysinst/msg.mi.pl
diff -u src/usr.sbin/sysinst/msg.mi.pl:1.11 src/usr.sbin/sysinst/msg.mi.pl:1.12
--- src/usr.sbin/sysinst/msg.mi.pl:1.11	Sat Nov  3 18:30:00 2018
+++ src/usr.sbin/sysinst/msg.mi.pl	Thu Nov 15 10:34:21 2018
@@ -1,4 +1,4 @@
-/*	$NetBSD: msg.mi.pl,v 1.11 2018/11/03 18:30:00 martin Exp $	*/
+/*	$NetBSD: msg.mi.pl,v 1.12 2018/11/15 10:34:21 martin Exp $	*/
 /*	Based on english version: */
 /*	NetBSD: msg.mi.pl,v 1.36 2004/04/17 18:55:35 atatat Exp       */
 
@@ -1205,3 +1205,8 @@ message Auto_add_swap_part
 Do you want to use that?}
 
 
+message parttype_mbr {Master Boot Record (MBR)}
+message parttype_mbr_short {MBR}
+message parttype_disklabel {BSD disklabel}
+message parttype_disklabel_short {disklabel}
+

Added files:

Index: src/usr.sbin/sysinst/defsizes.h
diff -u /dev/null src/usr.sbin/sysinst/defsizes.h:1.1
--- /dev/null	Thu Nov 15 10:34:22 2018
+++ src/usr.sbin/sysinst/defsizes.h	Thu Nov 15 10:34:21 2018
@@ -0,0 +1,54 @@
+/*	$NetBSD: defsizes.h,v 1.1 2018/11/15 10:34:21 martin Exp $	*/
+
+/*
+ * Copyright 2018 The NetBSD Foundation, Inc.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS''
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+ * THE POSSIBILITY OF SUCH DAMAGE.
+ *
+ */
+
+
+/*
+ * The size likely needed to build the whole system from source, including
+ * X, CTF, MKDEBUG, ...
+ * This is used in some messages as a hint when partitioning.
+ * Rough estimate, round high, in MB.
+ */
+#ifndef SYSTEM_BUILD_SIZE
+#define	SYSTEM_BUILD_SIZE	15*1024
+#endif
+
+
+#ifndef DEFVARSIZE
+#define DEFVARSIZE	32
+#endif
+#ifndef DEFROOTSIZE
+#define DEFROOTSIZE	32
+#endif
+#ifndef DEFUSRSIZE
+#define DEFUSRSIZE	128
+#endif
+#ifndef DEFSWAPSIZE
+#define DEFSWAPSIZE	128
+#endif
+

Reply via email to