Source-Changes-HG archive

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

[src/trunk]: src/usr.sbin/sysinst/arch/sparc64 Restore DEFSWAPSIZE value to (...



details:   https://anonhg.NetBSD.org/src/rev/daae257f3d38
branches:  trunk
changeset: 366819:daae257f3d38
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Fri Jun 17 14:08:54 2022 +0000

description:
Restore DEFSWAPSIZE value to (-1) to determine it by get_ramsize().

Thanks hannken@ for informing this botch.

diffstat:

 usr.sbin/sysinst/arch/sparc64/md.h |  6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diffs (27 lines):

diff -r ac4244a19afb -r daae257f3d38 usr.sbin/sysinst/arch/sparc64/md.h
--- a/usr.sbin/sysinst/arch/sparc64/md.h        Fri Jun 17 09:00:08 2022 +0000
+++ b/usr.sbin/sysinst/arch/sparc64/md.h        Fri Jun 17 14:08:54 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: md.h,v 1.7 2022/06/17 09:00:08 hannken Exp $   */
+/*     $NetBSD: md.h,v 1.8 2022/06/17 14:08:54 tsutsui Exp $   */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -35,8 +35,6 @@
 
 /* md.h -- Machine specific definitions for the sparc */
 
-/* Constants and defines */
-
 /*
  * Symbolic names for disk partitions.
  */
@@ -47,7 +45,7 @@
 #define PART_FIRST_FREE        PART_D
 
 #define DEFROOTSIZE    64      /* Default root size */
-#define DEFSWAPSIZE    64      /* Default swap size */
+#define DEFSWAPSIZE    (-1)    /* Default swap size */
 #define DEFVARSIZE     32      /* Default /var size, if created */
 #define DEFUSRSIZE     1200    /* Default /usr size, if /home */
 #define XNEEDMB                300     /* Extra megs for full X installation */



Home | Main Index | Thread Index | Old Index