diff options
author | jkh <jkh@FreeBSD.org> | 1999-03-09 12:36:28 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1999-03-09 12:36:28 +0000 |
commit | 07101145e89a286cc8ef960bab1d9549f4a1c977 (patch) | |
tree | dd0fdec56d51121e87b8b28802e92a4f8adf4c26 /usr.sbin/sysinstall/label.c | |
parent | 98c6f980becb2d5326dfb32822acc8791f202285 (diff) | |
download | FreeBSD-src-07101145e89a286cc8ef960bab1d9549f4a1c977.zip FreeBSD-src-07101145e89a286cc8ef960bab1d9549f4a1c977.tar.gz |
o Use larger minimum root size on alpha.
o Use proper architecture subdir when fetching bits from snapshot servers.
Submitted by: Doug Rabson <dfr@nlsystems.com>
Diffstat (limited to 'usr.sbin/sysinstall/label.c')
-rw-r--r-- | usr.sbin/sysinstall/label.c | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/usr.sbin/sysinstall/label.c b/usr.sbin/sysinstall/label.c index 3677caf..7b9971e 100644 --- a/usr.sbin/sysinstall/label.c +++ b/usr.sbin/sysinstall/label.c @@ -4,7 +4,7 @@ * This is probably the last program in the `sysinstall' line - the next * generation being essentially a complete rewrite. * - * $Id: label.c,v 1.85 1999/01/29 11:39:04 jkh Exp $ + * $Id: label.c,v 1.86 1999/02/05 22:15:49 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -55,7 +55,18 @@ #define FS_MIN_SIZE ONE_MEG /* The smallest root filesystem we're willing to create */ +#ifdef __alpha__ +#define ROOT_MIN_SIZE 32 +#else #define ROOT_MIN_SIZE 20 +#endif + +/* The default root filesystem size */ +#ifdef __alpha__ +#define ROOT_DEFAULT_SIZE 48 +#else +#define ROOT_DEFAULT_SIZE 32 +#endif /* The smallest swap partition we want to create by default */ #define SWAP_MIN_SIZE 16 @@ -782,7 +793,7 @@ diskLabel(Device *dev) if (!rootdev) { cp = variable_get(VAR_ROOT_SIZE); tmp = Create_Chunk_DWIM(label_chunk_info[here].c->disk, label_chunk_info[here].c, - (cp ? atoi(cp) : 32) * ONE_MEG, part, FS_BSDFFS, CHUNK_IS_ROOT); + (cp ? atoi(cp) : ROOT_DEFAULT_SIZE) * ONE_MEG, part, FS_BSDFFS, CHUNK_IS_ROOT); if (!tmp) { msgConfirm("Unable to create the root partition. Too big?"); clear_wins(); |