Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/distrib/utils/sysinst/arch/hpcmips fix storage requirement.



details:   https://anonhg.NetBSD.org/src/rev/895944ad66f5
branches:  trunk
changeset: 482763:895944ad66f5
user:      shin <shin%NetBSD.org@localhost>
date:      Mon Feb 21 13:23:17 2000 +0000

description:
fix storage requirement.

diffstat:

 distrib/utils/sysinst/arch/hpcmips/md.c |  5 ++++-
 distrib/utils/sysinst/arch/hpcmips/md.h |  6 +++---
 2 files changed, 7 insertions(+), 4 deletions(-)

diffs (39 lines):

diff -r 8f3732fdd778 -r 895944ad66f5 distrib/utils/sysinst/arch/hpcmips/md.c
--- a/distrib/utils/sysinst/arch/hpcmips/md.c   Mon Feb 21 08:40:54 2000 +0000
+++ b/distrib/utils/sysinst/arch/hpcmips/md.c   Mon Feb 21 13:23:17 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: md.c,v 1.2 2000/01/22 02:59:59 shin Exp $ */
+/*     $NetBSD: md.c,v 1.3 2000/02/21 13:23:17 shin Exp $ */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -137,6 +137,9 @@
        }
 
 #endif
+       /* Compute minimum NetBSD partition sizes (in sectors). */
+       minfsdmb = STDNEEDMB * (MEG / sectorsize);
+
        return 1;
 }
 
diff -r 8f3732fdd778 -r 895944ad66f5 distrib/utils/sysinst/arch/hpcmips/md.h
--- a/distrib/utils/sysinst/arch/hpcmips/md.h   Mon Feb 21 08:40:54 2000 +0000
+++ b/distrib/utils/sysinst/arch/hpcmips/md.h   Mon Feb 21 13:23:17 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: md.h,v 1.1 2000/01/21 11:26:00 shin Exp $      */
+/*     $NetBSD: md.h,v 1.2 2000/02/21 13:23:17 shin Exp $      */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -51,8 +51,8 @@
 /* constants and defines */
 
 
-/* Megs required for a full X installation. */
-#define XNEEDMB 50
+#define STDNEEDMB      130     /* Min space for non X install */
+#define XNEEDMB                30      /* Extra megs for full X installation */
 
 
 /*



Home | Main Index | Thread Index | Old Index