Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/sysinst Now that size estimates are not way off any...
details: https://anonhg.NetBSD.org/src/rev/840b34162454
branches: trunk
changeset: 445898:840b34162454
user: martin <martin%NetBSD.org@localhost>
date: Fri Nov 16 19:55:18 2018 +0000
description:
Now that size estimates are not way off anymore, only double the size
for the minimal suggested partition.
diffstat:
usr.sbin/sysinst/mbr.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 9e3445606b7b -r 840b34162454 usr.sbin/sysinst/mbr.c
--- a/usr.sbin/sysinst/mbr.c Fri Nov 16 19:54:03 2018 +0000
+++ b/usr.sbin/sysinst/mbr.c Fri Nov 16 19:55:18 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mbr.c,v 1.7 2018/11/15 10:34:21 martin Exp $ */
+/* $NetBSD: mbr.c,v 1.8 2018/11/16 19:55:18 martin Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@@ -1283,7 +1283,7 @@
char min_size[5], build_size[5];
humanize_number(min_size, sizeof(min_size),
- 3 * m_size * 1024*1024UL,
+ 2 * 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,
Home |
Main Index |
Thread Index |
Old Index