More size estimate fixes

This commit is contained in:
martin 2018-11-18 10:34:45 +00:00
parent 524a83dccc
commit de7834a35d
13 changed files with 85 additions and 33 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: md.h,v 1.1 2014/07/26 19:30:44 dholland Exp $ */ /* $NetBSD: md.h,v 1.2 2018/11/18 10:34:45 martin Exp $ */
/* /*
* Copyright 1997 Piermont Information Systems Inc. * Copyright 1997 Piermont Information Systems Inc.
@ -37,8 +37,10 @@
/* Constants and defines */ /* Constants and defines */
/* Megs required for a full X installation. */ #define DEFUSRSIZE 1024 /* Default /usr size, if /home */
#define XNEEDMB 60 #define XNEEDMB 256 /* Extra megs for full X installation */
#define DEBNEEDMB 980 /* Extra megs for debug sets */
#define PART_REST PART_D #define PART_REST PART_D
#define PART_USR PART_E #define PART_USR PART_E

View File

@ -1,4 +1,4 @@
/* $NetBSD: md.h,v 1.3 2018/11/05 19:45:56 martin Exp $ */ /* $NetBSD: md.h,v 1.4 2018/11/18 10:34:45 martin Exp $ */
/* /*
* Copyright 1997 Piermont Information Systems Inc. * Copyright 1997 Piermont Information Systems Inc.
@ -46,11 +46,12 @@
#include "mbr.h" #include "mbr.h"
/* constants and defines */ /* constants and defines */
#define DEFUSRSIZE 0 #define DEFROOTSIZE 128 /* Default root size */
#define DEFSWAPSIZE (-1) #define DEFUSRSIZE 0 /* Default /usr size, if /home */
#define XNEEDMB 300 /* Extra megs for full X installation */
#define DEBNEEDMB 1400 /* Extra megs for debug sets */
/* Megs required for a full X installation. */ #define DEFSWAPSIZE (-1)
#define XNEEDMB 50
/* use UFS2 by default for ffs */ /* use UFS2 by default for ffs */
#define DEFAULT_UFS2 #define DEFAULT_UFS2

View File

@ -1,4 +1,4 @@
/* $NetBSD: md.h,v 1.2 2018/11/05 19:45:56 martin Exp $ */ /* $NetBSD: md.h,v 1.3 2018/11/18 10:34:45 martin Exp $ */
/* /*
* Copyright 1997 Piermont Information Systems Inc. * Copyright 1997 Piermont Information Systems Inc.
@ -45,7 +45,7 @@
/* Megs required for a full X installation. */ /* Megs required for a full X installation. */
#define XNEEDMB 50 #define XNEEDMB 225
/* /*

View File

@ -1,4 +1,4 @@
/* $NetBSD: md.h,v 1.1 2014/07/26 19:30:44 dholland Exp $ */ /* $NetBSD: md.h,v 1.2 2018/11/18 10:34:45 martin Exp $ */
/* /*
* Copyright 1997 Piermont Information Systems Inc. * Copyright 1997 Piermont Information Systems Inc.
@ -41,8 +41,9 @@
/* constants and defines */ /* constants and defines */
/* Megs required for a full X installation. */ #define XNEEDMB 256 /* Extra megs for full X installation */
#define XNEEDMB 50 #define DEBNEEDMB 900 /* Extra megs for debug sets */
/* /*

View File

@ -1,4 +1,4 @@
/* $NetBSD: md.h,v 1.1 2014/07/26 19:30:44 dholland Exp $ */ /* $NetBSD: md.h,v 1.2 2018/11/18 10:34:45 martin Exp $ */
/* /*
* Copyright 1997 Piermont Information Systems Inc. * Copyright 1997 Piermont Information Systems Inc.
@ -37,8 +37,10 @@
/* Constants and defines */ /* Constants and defines */
/* Megs required for a full X installation. */ #define DEFROOTSIZE 80 /* Default root size */
#define XNEEDMB 60 #define XNEEDMB 225 /* Extra megs for full X installation */
#define DEBNEEDMB 980 /* Extra megs for debug sets */
/* /*
* Default filesets to fetch and install during installation * Default filesets to fetch and install during installation

View File

@ -1,4 +1,4 @@
/* $NetBSD: md.h,v 1.1 2014/07/26 19:30:45 dholland Exp $ */ /* $NetBSD: md.h,v 1.2 2018/11/18 10:34:46 martin Exp $ */
/* /*
* Copyright 1997 Piermont Information Systems Inc. * Copyright 1997 Piermont Information Systems Inc.
@ -41,8 +41,10 @@
/* constants and defines */ /* constants and defines */
/* Megs required for a full X installation. */ #define DEFROOTSIZE 80 /* Default root size */
#define XNEEDMB 50 #define XNEEDMB 256 /* Extra megs for full X installation */
#define DEBNEEDMB 880 /* Extra megs for debug sets */
/* /*

View File

@ -1,4 +1,4 @@
/* $NetBSD: md.h,v 1.1 2014/07/26 19:30:45 dholland Exp $ */ /* $NetBSD: md.h,v 1.2 2018/11/18 10:34:46 martin Exp $ */
/* /*
* Copyright 1997 Piermont Information Systems Inc. * Copyright 1997 Piermont Information Systems Inc.
@ -46,8 +46,17 @@
/* constants and defines */ /* constants and defines */
/* Megs for the / partition, if separate */
#define DEFROOTSIZE 64
#define XNEEDMB 39 /* Extra megs for full X installation */ /* Megs for the /usr partition, if separate */
#define DEFUSRSIZE 960
/* Megs required for a full X installation. */
#define XNEEDMB 225
/* Megs required for debug sets */
#define DEBNEEDMB 980
/* /*

View File

@ -1,4 +1,4 @@
/* $NetBSD: md.h,v 1.1 2014/07/26 19:30:45 dholland Exp $ */ /* $NetBSD: md.h,v 1.2 2018/11/18 10:34:46 martin Exp $ */
/* /*
* Copyright 1997 Piermont Information Systems Inc. * Copyright 1997 Piermont Information Systems Inc.
@ -47,7 +47,14 @@
/* constants and defines */ /* constants and defines */
#define XNEEDMB 39 /* Extra megs for full X installation */ /* Megs for the / partition, if separate */
#define DEFROOTSIZE 48
/* Megs required for a full X installation. */
#define XNEEDMB 256
/* Megs required for debug sets */
#define DEBNEEDMB 880
/* /*

View File

@ -1,4 +1,4 @@
/* $NetBSD: md.h,v 1.1 2014/07/26 19:30:46 dholland Exp $ */ /* $NetBSD: md.h,v 1.2 2018/11/18 10:34:46 martin Exp $ */
/* /*
* Copyright 1997 Piermont Information Systems Inc. * Copyright 1997 Piermont Information Systems Inc.
@ -156,8 +156,12 @@ typedef struct {
*/ */
extern struct apple_part_map_entry new_map[]; extern struct apple_part_map_entry new_map[];
/* Megs for the / partition, if separate */
#define DEFROOTSIZE 60
/* Megs required for a full X installation. */ /* Megs required for a full X installation. */
#define XNEEDMB 50 #define XNEEDMB 225
/* /*
* Machine-specific command to write a new label to a disk. * Machine-specific command to write a new label to a disk.

View File

@ -1,4 +1,4 @@
/* $NetBSD: md.h,v 1.1 2014/07/26 19:30:46 dholland Exp $ */ /* $NetBSD: md.h,v 1.2 2018/11/18 10:34:46 martin Exp $ */
/* /*
* Copyright 1997 Piermont Information Systems Inc. * Copyright 1997 Piermont Information Systems Inc.
@ -44,8 +44,15 @@
#define PART_RAW PART_C #define PART_RAW PART_C
#define PART_USR PART_G #define PART_USR PART_G
/* Megs for the / partition, if separate */
#define DEFROOTSIZE 60
/* Megs required for a full X installation. */ /* Megs required for a full X installation. */
#define XNEEDMB 35 /* XXXTHORPEJ */ #define XNEEDMB 256
/* Megs required for debug sets */
#define DEBNEEDMB 900
/* have support for booting from UFS2 */ /* have support for booting from UFS2 */
#define HAVE_UFS2_BOOT #define HAVE_UFS2_BOOT

View File

@ -1,4 +1,4 @@
/* $NetBSD: md.h,v 1.1 2014/07/26 19:30:47 dholland Exp $ */ /* $NetBSD: md.h,v 1.2 2018/11/18 10:34:46 martin Exp $ */
/* /*
* Copyright 1997 Piermont Information Systems Inc. * Copyright 1997 Piermont Information Systems Inc.
@ -41,8 +41,14 @@
/* constants and defines */ /* constants and defines */
/* Megs for the / partition, if separate */
#define DEFROOTSIZE 60
/* Megs required for a full X installation. */ /* Megs required for a full X installation. */
#define XNEEDMB 50 #define XNEEDMB 225
/* Megs required for debug sets */
#define DEBNEEDMB 900
/* /*

View File

@ -1,4 +1,4 @@
/* $NetBSD: md.h,v 1.1 2014/07/26 19:30:47 dholland Exp $ */ /* $NetBSD: md.h,v 1.2 2018/11/18 10:34:46 martin Exp $ */
/* /*
* Copyright 1997 Piermont Information Systems Inc. * Copyright 1997 Piermont Information Systems Inc.
@ -36,9 +36,14 @@
/* md.h -- Machine specific definitions for the shark */ /* md.h -- Machine specific definitions for the shark */
/* Constants and defines */ /* Constants and defines */
/* Megs for the /usr partition, if separate */
#define DEFUSRSIZE 980
/* Megs required for a full X installation. */ /* Megs required for a full X installation. */
#define XNEEDMB 60 #define XNEEDMB 225
/* Megs required for debug sets */
#define DEBNEEDMB 980
/* /*
* Default filesets to fetch and install during installation * Default filesets to fetch and install during installation

View File

@ -1,4 +1,4 @@
/* $NetBSD: md.h,v 1.1 2014/07/26 19:30:47 dholland Exp $ */ /* $NetBSD: md.h,v 1.2 2018/11/18 10:34:46 martin Exp $ */
/* /*
* Copyright 1997 Piermont Information Systems Inc. * Copyright 1997 Piermont Information Systems Inc.
@ -45,8 +45,14 @@
#define PART_USR PART_E /* Can be after PART_FIRST_FREE */ #define PART_USR PART_E /* Can be after PART_FIRST_FREE */
#define PART_FIRST_FREE PART_F #define PART_FIRST_FREE PART_F
/* Megs for the /usr partition, if separate */
#define DEFUSRSIZE 980
/* Megs required for a full X installation. */ /* Megs required for a full X installation. */
#define XNEEDMB 60 #define XNEEDMB 225
/* Megs required for debug sets */
#define DEBNEEDMB 980
/* have support for booting from UFS2 */ /* have support for booting from UFS2 */
#define HAVE_UFS2_BOOT #define HAVE_UFS2_BOOT