Remove all references to minfsdmb and STDNEEDMB - neither are used any more.

This commit is contained in:
dsl 2003-06-13 11:57:28 +00:00
parent 88e7a0c7dc
commit bc119f42a4
39 changed files with 39 additions and 125 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: md.c,v 1.10 2003/06/11 21:35:36 dsl Exp $ */
/* $NetBSD: md.c,v 1.11 2003/06/13 11:57:29 dsl Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@ -252,9 +252,6 @@ md_get_info(void)
if (disklabel.d_secperunit > dlsize)
dlsize = disklabel.d_secperunit;
/* Compute minimum NetBSD partition sizes (in sectors). */
minfsdmb = (80 + 4*rammb) * (MEG / sectorsize);
ptstart = offset;
/* endwin();
printf("dlcyl=%d\n", dlcyl);

View File

@ -1,4 +1,4 @@
/* $NetBSD: md.c,v 1.11 2003/06/11 21:35:37 dsl Exp $ */
/* $NetBSD: md.c,v 1.12 2003/06/13 11:57:29 dsl Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@ -251,9 +251,6 @@ md_get_info(void)
if (disklabel.d_secperunit > dlsize)
dlsize = disklabel.d_secperunit;
/* Compute minimum NetBSD partition sizes (in sectors). */
minfsdmb = (80 + 4*rammb) * (MEG / sectorsize);
ptstart = offset;
/* endwin();
printf("dlcyl=%d\n", dlcyl);

View File

@ -1,4 +1,4 @@
/* $NetBSD: md.c,v 1.33 2003/06/11 21:35:37 dsl Exp $ */
/* $NetBSD: md.c,v 1.34 2003/06/13 11:57:30 dsl Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@ -100,9 +100,6 @@ md_get_info(void)
if (disklabel.d_secperunit > dlsize)
dlsize = disklabel.d_secperunit;
/* Compute minimum NetBSD partition sizes (in sectors). */
minfsdmb = (80 + 4*rammb) * (MEG / sectorsize);
return 1;
}

View File

@ -1,4 +1,4 @@
/* $NetBSD: md.h,v 1.8 2003/06/11 21:35:39 dsl Exp $ */
/* $NetBSD: md.h,v 1.9 2003/06/13 11:57:30 dsl Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@ -56,7 +56,6 @@
#define DEFROOTSIZE 20 /* Default root size */
#define DEFVARSIZE 32 /* Default /var size, if created */
#define DEFUSRSIZE 70 /* Default /usr size, if /home */
#define STDNEEDMB 80 /* Min space for non X install */
#define XNEEDMB 50 /* Extra megs for full X installation */
#define LIB_COUNT 0

View File

@ -1,4 +1,4 @@
/* $NetBSD: md.c,v 1.9 2003/06/11 21:35:40 dsl Exp $ */
/* $NetBSD: md.c,v 1.10 2003/06/13 11:57:30 dsl Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@ -104,9 +104,6 @@ md_get_info (void)
if (disklabel.d_secperunit > dlsize)
dlsize = disklabel.d_secperunit;
/* Compute minimum NetBSD partition sizes (in sectors). */
minfsdmb = (80 + 4*rammb) * (MEG / sectorsize);
ptstart = offset;
/* endwin();
printf("dlcyl=%d\n", dlcyl);

View File

@ -1,4 +1,4 @@
/* $NetBSD: md.c,v 1.10 2003/06/11 21:35:40 dsl Exp $ */
/* $NetBSD: md.c,v 1.11 2003/06/13 11:57:30 dsl Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@ -97,9 +97,6 @@ md_get_info(void)
if (disklabel.d_secperunit > dlsize)
dlsize = disklabel.d_secperunit;
/* Compute minimum NetBSD partition sizes (in sectors). */
minfsdmb = (80 + 4*rammb) * (MEG / sectorsize);
return 1;
}

View File

@ -1,4 +1,4 @@
/* $NetBSD: md.c,v 1.8 2003/06/11 21:35:41 dsl Exp $ */
/* $NetBSD: md.c,v 1.9 2003/06/13 11:57:31 dsl Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@ -105,9 +105,6 @@ md_get_info(void)
close(fd);
/* Compute minimum NetBSD partition sizes (in sectors). */
minfsdmb = STDNEEDMB * (MEG / sectorsize);
return (1);
}

View File

@ -1,4 +1,4 @@
/* $NetBSD: md.h,v 1.5 2003/06/11 21:35:41 dsl Exp $ */
/* $NetBSD: md.h,v 1.6 2003/06/13 11:57:31 dsl Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@ -62,7 +62,6 @@
#define DEFROOTSIZE 20 /* Default root size */
#define DEFVARSIZE 32 /* Default /var size, if created */
#define DEFUSRSIZE 70 /* Default /usr size, if /home */
#define STDNEEDMB 80 /* Min space for non X install */
#define XNEEDMB 35 /* Extra megs for full X installation */
/*

View File

@ -1,4 +1,4 @@
/* $NetBSD: md.c,v 1.29 2003/06/12 10:51:40 dsl Exp $ */
/* $NetBSD: md.c,v 1.30 2003/06/13 11:57:31 dsl Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@ -83,9 +83,6 @@ md_get_info(void)
edit_mbr(&mbr);
/* Compute minimum NetBSD partition sizes (in sectors). */
minfsdmb = STDNEEDMB * (MEG / sectorsize);
return 1;
}

View File

@ -1,4 +1,4 @@
/* $NetBSD: md.h,v 1.18 2003/06/11 21:35:42 dsl Exp $ */
/* $NetBSD: md.h,v 1.19 2003/06/13 11:57:31 dsl Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@ -51,7 +51,6 @@
/* constants and defines */
#define STDNEEDMB 145 /* Min space for non X install */
#define XNEEDMB 39 /* Extra megs for full X installation */

View File

@ -1,4 +1,4 @@
/* $NetBSD: md.c,v 1.28 2003/06/11 21:35:44 dsl Exp $ */
/* $NetBSD: md.c,v 1.29 2003/06/13 11:57:31 dsl Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@ -100,9 +100,6 @@ md_get_info(void)
if (disklabel.d_secperunit > dlsize)
dlsize = disklabel.d_secperunit;
/* Compute minimum NetBSD partition sizes (in sectors). */
minfsdmb = (80 + 4*rammb) * (MEG / sectorsize);
return 1;
}

View File

@ -1,4 +1,4 @@
/* $NetBSD: md.c,v 1.4 2003/06/11 21:35:44 dsl Exp $ */
/* $NetBSD: md.c,v 1.5 2003/06/13 11:57:32 dsl Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@ -108,9 +108,6 @@ md_get_info(void)
if (disklabel.d_secperunit > dlsize)
dlsize = disklabel.d_secperunit;
/* Compute minimum NetBSD partition sizes (in sectors). */
minfsdmb = STDNEEDMB * (MEG / sectorsize);
return 1;
}

View File

@ -1,4 +1,4 @@
/* $NetBSD: md.h,v 1.6 2003/06/11 21:35:44 dsl Exp $ */
/* $NetBSD: md.h,v 1.7 2003/06/13 11:57:32 dsl Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@ -57,7 +57,6 @@
#define DEFROOTSIZE 64 /* Default root size */
#define DEFVARSIZE 32 /* Default /var size, if created */
#define DEFUSRSIZE 120 /* Default /usr size, if /home */
#define STDNEEDMB 160 /* Min space for non X install */
#define XNEEDMB 100 /* Extra megs for full X installation */
/*

View File

@ -1,4 +1,4 @@
/* $NetBSD: md.c,v 1.7 2003/06/11 21:35:45 dsl Exp $ */
/* $NetBSD: md.c,v 1.8 2003/06/13 11:57:32 dsl Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@ -105,9 +105,6 @@ md_get_info(void)
close(fd);
/* Compute minimum NetBSD partition sizes (in sectors). */
minfsdmb = STDNEEDMB * (MEG / sectorsize);
return (1);
}

View File

@ -1,4 +1,4 @@
/* $NetBSD: md.h,v 1.5 2003/06/11 21:35:45 dsl Exp $ */
/* $NetBSD: md.h,v 1.6 2003/06/13 11:57:32 dsl Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@ -62,7 +62,6 @@
#define DEFROOTSIZE 20 /* Default root size */
#define DEFVARSIZE 32 /* Default /var size, if created */
#define DEFUSRSIZE 70 /* Default /usr size, if /home */
#define STDNEEDMB 80 /* Min space for non X install */
#define XNEEDMB 35 /* Extra megs for full X installation */
/*

View File

@ -1,4 +1,4 @@
/* $NetBSD: md.c,v 1.17 2003/06/11 21:35:45 dsl Exp $ */
/* $NetBSD: md.c,v 1.18 2003/06/13 11:57:32 dsl Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@ -106,9 +106,6 @@ md_get_info()
if (disklabel.d_secperunit > dlsize)
dlsize = disklabel.d_secperunit;
/* Compute minimum NetBSD partition sizes (in sectors). */
minfsdmb = (80 + 4*rammb) * (MEG / sectorsize);
return 1;
}

View File

@ -1,4 +1,4 @@
/* $NetBSD: md.h,v 1.14 2003/06/11 21:35:45 dsl Exp $ */
/* $NetBSD: md.h,v 1.15 2003/06/13 11:57:32 dsl Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@ -54,7 +54,6 @@
#define DEFROOTSIZE 32 /* Default root size */
#define DEFVARSIZE 32 /* Default /var size, if created */
#define DEFUSRSIZE 100 /* Default /usr size, if created */
#define STDNEEDMB 100 /* Min space for non X install */
#define XNEEDMB 35 /* Extra megs for full X installation */
/*

View File

@ -1,4 +1,4 @@
/* $NetBSD: md.c,v 1.6 2003/06/11 21:35:46 dsl Exp $ */
/* $NetBSD: md.c,v 1.7 2003/06/13 11:57:33 dsl Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@ -106,9 +106,6 @@ md_get_info()
if (disklabel.d_secperunit > dlsize)
dlsize = disklabel.d_secperunit;
/* Compute minimum NetBSD partition sizes (in sectors). */
minfsdmb = (80 + 4*rammb) * (MEG / sectorsize);
return 1;
}

View File

@ -1,4 +1,4 @@
/* $NetBSD: md.h,v 1.5 2003/06/11 21:35:46 dsl Exp $ */
/* $NetBSD: md.h,v 1.6 2003/06/13 11:57:33 dsl Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@ -54,7 +54,6 @@
#define DEFROOTSIZE 64 /* Default root size */
#define DEFVARSIZE 32 /* Default /var size, if created */
#define DEFUSRSIZE 120 /* Default /usr size, if created */
#define STDNEEDMB 140 /* Min space for non X install */
#define XNEEDMB 100 /* Extra megs for full X installation */
/*

View File

@ -1,4 +1,4 @@
/* $NetBSD: md.c,v 1.27 2003/06/11 21:35:46 dsl Exp $ */
/* $NetBSD: md.c,v 1.28 2003/06/13 11:57:33 dsl Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@ -89,9 +89,6 @@ md_get_info(void)
dlsec = disk->dd_sec;
dlsize = dlcyl*dlhead*dlsec;
/* Compute minimum NetBSD partition sizes (in sectors). */
minfsdmb = (80 + 4*rammb) * (MEG / sectorsize);
return 1;
}

View File

@ -1,4 +1,4 @@
/* $NetBSD: md.c,v 1.9 2003/06/11 21:35:47 dsl Exp $ */
/* $NetBSD: md.c,v 1.10 2003/06/13 11:57:33 dsl Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@ -79,9 +79,6 @@ md_get_info()
edit_mbr(&mbr);
/* Compute minimum NetBSD partition sizes (in sectors). */
minfsdmb = STDNEEDMB * (MEG / sectorsize);
return (1);
}

View File

@ -1,4 +1,4 @@
/* $NetBSD: md.h,v 1.8 2003/06/11 21:35:47 dsl Exp $ */
/* $NetBSD: md.h,v 1.9 2003/06/13 11:57:33 dsl Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@ -57,7 +57,6 @@
#define DEFROOTSIZE 32 /* Default root size */
#define DEFVARSIZE 0 /* Default /var size, if created */
#define DEFUSRSIZE 0 /* Default /usr size, if created */
#define STDNEEDMB 0 /* Min space for non X install */
#define XNEEDMB 0 /* Extra megs for full X installation(not yet)*/
/*

View File

@ -1,4 +1,4 @@
/* $NetBSD: md.c,v 1.50 2003/06/11 21:35:47 dsl Exp $ */
/* $NetBSD: md.c,v 1.51 2003/06/13 11:57:34 dsl Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@ -108,9 +108,6 @@ md_get_info(void)
if (disklabel.d_secperunit > dlsize)
dlsize = disklabel.d_secperunit;
/* Compute minimum NetBSD partition sizes (in sectors). */
minfsdmb = STDNEEDMB * (MEG / sectorsize);
return 1;
}

View File

@ -1,4 +1,4 @@
/* $NetBSD: md.h,v 1.24 2003/06/11 21:35:47 dsl Exp $ */
/* $NetBSD: md.h,v 1.25 2003/06/13 11:57:34 dsl Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@ -53,7 +53,6 @@
#define DEFROOTSIZE 64 /* Default root size */
#define DEFVARSIZE 32 /* Default /var size, if created */
#define DEFUSRSIZE 120 /* Default /usr size, if /home */
#define STDNEEDMB 140 /* Min space for non X install */
#define XNEEDMB 100 /* Extra megs for full X installation */
/*

View File

@ -1,4 +1,4 @@
/* $NetBSD: md.c,v 1.13 2003/06/12 10:51:42 dsl Exp $ */
/* $NetBSD: md.c,v 1.14 2003/06/13 11:57:34 dsl Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@ -79,9 +79,6 @@ md_get_info(void)
edit_mbr(&mbr);
/* Compute minimum NetBSD partition sizes (in sectors). */
minfsdmb = STDNEEDMB * (MEG / sectorsize);
return 1;
}

View File

@ -1,4 +1,4 @@
/* $NetBSD: md.h,v 1.6 2003/06/11 21:35:48 dsl Exp $ */
/* $NetBSD: md.h,v 1.7 2003/06/13 11:57:34 dsl Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@ -59,7 +59,6 @@
#define DEFROOTSIZE 24 /* Default root size */
#define DEFVARSIZE 32 /* Default /var size, if created */
#define DEFUSRSIZE 128 /* Default /usr size, if /home */
#define STDNEEDMB 160 /* Min space for non X install */
#define XNEEDMB 39 /* Extra megs for full X installation */

View File

@ -1,4 +1,4 @@
/* $NetBSD: md.c,v 1.7 2003/06/11 21:35:49 dsl Exp $ */
/* $NetBSD: md.c,v 1.8 2003/06/13 11:57:34 dsl Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@ -75,9 +75,6 @@ md_get_info(void)
dlhead = disk->dd_head;
dlsec = disk->dd_sec;
/* Compute minimum NetBSD partition sizes (in sectors). */
minfsdmb = STDNEEDMB * (MEG / sectorsize);
return 1;
}

View File

@ -1,4 +1,4 @@
/* $NetBSD: md.h,v 1.10 2003/06/11 21:35:49 dsl Exp $ */
/* $NetBSD: md.h,v 1.11 2003/06/13 11:57:34 dsl Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@ -56,7 +56,6 @@
#define DEFROOTSIZE 64 /* Default root size */
#define DEFVARSIZE 32 /* Default /var size, if created */
#define DEFUSRSIZE 120 /* Default /usr size, if /home */
#define STDNEEDMB 140 /* Min space for non X install */
#define XNEEDMB 100 /* Extra megs for full X installation */
/*

View File

@ -1,4 +1,4 @@
/* $NetBSD: md.c,v 1.10 2003/06/11 21:35:49 dsl Exp $ */
/* $NetBSD: md.c,v 1.11 2003/06/13 11:57:35 dsl Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@ -97,9 +97,6 @@ md_get_info(void)
if (disklabel.d_secperunit > dlsize)
dlsize = disklabel.d_secperunit;
/* Compute minimum NetBSD partition sizes (in sectors). */
minfsdmb = (80 + 4*rammb) * (MEG / sectorsize);
return 1;
}

View File

@ -1,4 +1,4 @@
/* $NetBSD: md.c,v 1.35 2003/06/11 21:35:50 dsl Exp $ */
/* $NetBSD: md.c,v 1.36 2003/06/13 11:57:35 dsl Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@ -102,9 +102,6 @@ md_get_info(void)
if (disklabel.d_secperunit > dlsize)
dlsize = disklabel.d_secperunit;
/* Compute minimum NetBSD partition sizes (in sectors). */
minfsdmb = STDNEEDMB * (MEG / sectorsize);
return 1;
}

View File

@ -1,4 +1,4 @@
/* $NetBSD: md.h,v 1.16 2003/06/11 21:35:50 dsl Exp $ */
/* $NetBSD: md.h,v 1.17 2003/06/13 11:57:35 dsl Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@ -54,7 +54,6 @@
#define DEFROOTSIZE 32 /* Default root size */
#define DEFVARSIZE 32 /* Default /var size, if created */
#define DEFUSRSIZE 100 /* Default /usr size, if /home */
#define STDNEEDMB 110 /* Min space for non X install */
#define XNEEDMB 35 /* Extra megs for full X installation */
#define LIB_COUNT 0

View File

@ -1,4 +1,4 @@
/* $NetBSD: md.c,v 1.11 2003/06/11 21:35:50 dsl Exp $ */
/* $NetBSD: md.c,v 1.12 2003/06/13 11:57:35 dsl Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@ -100,9 +100,6 @@ md_get_info(void)
if (disklabel.d_secperunit > dlsize)
dlsize = disklabel.d_secperunit;
/* Compute minimum NetBSD partition sizes (in sectors). */
minfsdmb = STDNEEDMB * (MEG / sectorsize);
return 1;
}

View File

@ -1,4 +1,4 @@
/* $NetBSD: md.h,v 1.8 2003/06/11 21:35:50 dsl Exp $ */
/* $NetBSD: md.h,v 1.9 2003/06/13 11:57:36 dsl Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@ -54,7 +54,6 @@
#define DEFROOTSIZE 64 /* Default root size */
#define DEFVARSIZE 32 /* Default /var size, if created */
#define DEFUSRSIZE 240 /* Default /usr size, if /home */
#define STDNEEDMB 270 /* Min space for non X install */
#define XNEEDMB 80 /* Extra megs for full X installation */
/*

View File

@ -1,4 +1,4 @@
/* $NetBSD: md.c,v 1.21 2003/06/11 21:35:51 dsl Exp $ */
/* $NetBSD: md.c,v 1.22 2003/06/13 11:57:36 dsl Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@ -100,9 +100,6 @@ md_get_info(void)
if (disklabel.d_secperunit > dlsize)
dlsize = disklabel.d_secperunit;
/* Compute minimum NetBSD partition sizes (in sectors). */
minfsdmb = STDNEEDMB * (MEG / sectorsize);
return 1;
}

View File

@ -1,4 +1,4 @@
/* $NetBSD: md.h,v 1.13 2003/06/11 21:35:51 dsl Exp $ */
/* $NetBSD: md.h,v 1.14 2003/06/13 11:57:36 dsl Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@ -54,7 +54,6 @@
#define DEFROOTSIZE 32 /* Default root size */
#define DEFVARSIZE 32 /* Default /var size, if created */
#define DEFUSRSIZE 70 /* Default /usr size, if /home */
#define STDNEEDMB 80 /* Min space for non X install */
#define XNEEDMB 35 /* Extra megs for full X installation */
/*

View File

@ -1,4 +1,4 @@
/* $NetBSD: md.c,v 1.22 2003/06/11 21:35:51 dsl Exp $ */
/* $NetBSD: md.c,v 1.23 2003/06/13 11:57:37 dsl Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@ -133,9 +133,6 @@ md_get_info(void)
close(fd);
/* Compute minimum NetBSD partition sizes (in sectors). */
minfsdmb = STDNEEDMB * (MEG / sectorsize);
return 1;
}

View File

@ -1,4 +1,4 @@
/* $NetBSD: md.h,v 1.11 2003/06/11 21:35:51 dsl Exp $ */
/* $NetBSD: md.h,v 1.12 2003/06/13 11:57:37 dsl Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@ -62,7 +62,6 @@
#define DEFROOTSIZE 20 /* Default root size */
#define DEFVARSIZE 32 /* Default /var size, if created */
#define DEFUSRSIZE 70 /* Default /usr size, if /home */
#define STDNEEDMB 80 /* Min space for non X install */
#define XNEEDMB 35 /* Extra megs for full X installation */
/*

View File

@ -1,4 +1,4 @@
/* $NetBSD: defs.h,v 1.88 2003/06/13 11:45:49 dsl Exp $ */
/* $NetBSD: defs.h,v 1.89 2003/06/13 11:57:28 dsl Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@ -205,8 +205,6 @@ EXTERN int editpart;
/* Area of disk we can allocate, start and size in disk sectors. */
EXTERN int ptstart, ptsize;
EXTERN int minfsdmb;
/* Actual values for current disk - set by md_get_info() */
EXTERN int dlcyl, dlhead, dlsec, dlsize, dlcylsize;
EXTERN int current_cylsize;

View File

@ -1,4 +1,4 @@
/* $NetBSD: mbr.c,v 1.38 2003/06/12 16:48:43 dsl Exp $ */
/* $NetBSD: mbr.c,v 1.39 2003/06/13 11:57:29 dsl Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@ -305,9 +305,6 @@ edit_mbr(struct mbr_sector *mbr)
/* Ask if a boot selector is wanted. XXXX */
}
/* Compute minimum NetBSD partition sizes (in sectors). */
minfsdmb = (80 + 4*rammb) * (MEG / sectorsize);
return 1;
}