| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | /* $NetBSD: md.h,v 1.14 2008/03/15 18:30:13 martin Exp $ */ | | 1 | /* $NetBSD: md.h,v 1.15 2010/02/17 16:11:00 martin Exp $ */ |
2 | | | 2 | |
3 | /* | | 3 | /* |
4 | * Copyright 1997 Piermont Information Systems Inc. | | 4 | * Copyright 1997 Piermont Information Systems Inc. |
5 | * All rights reserved. | | 5 | * All rights reserved. |
6 | * | | 6 | * |
7 | * Based on code written by Philip A. Nelson for Piermont Information | | 7 | * Based on code written by Philip A. Nelson for Piermont Information |
8 | * Systems Inc. | | 8 | * Systems Inc. |
9 | * | | 9 | * |
10 | * Redistribution and use in source and binary forms, with or without | | 10 | * Redistribution and use in source and binary forms, with or without |
11 | * modification, are permitted provided that the following conditions | | 11 | * modification, are permitted provided that the following conditions |
12 | * are met: | | 12 | * are met: |
13 | * 1. Redistributions of source code must retain the above copyright | | 13 | * 1. Redistributions of source code must retain the above copyright |
14 | * notice, this list of conditions and the following disclaimer. | | 14 | * notice, this list of conditions and the following disclaimer. |
| @@ -46,26 +46,35 @@ | | | @@ -46,26 +46,35 @@ |
46 | */ | | 46 | */ |
47 | #define PART_ROOT PART_A | | 47 | #define PART_ROOT PART_A |
48 | #define PART_SWAP PART_B | | 48 | #define PART_SWAP PART_B |
49 | #define PART_RAW PART_C | | 49 | #define PART_RAW PART_C |
50 | #define PART_USR PART_G /* Can be after PART_FIRST_FREE */ | | 50 | #define PART_USR PART_G /* Can be after PART_FIRST_FREE */ |
51 | #define PART_FIRST_FREE PART_D | | 51 | #define PART_FIRST_FREE PART_D |
52 | | | 52 | |
53 | #define DEFSWAPRAM 64 /* Assume at least this RAM for swap calc */ | | 53 | #define DEFSWAPRAM 64 /* Assume at least this RAM for swap calc */ |
54 | #define DEFROOTSIZE 64 /* Default root size */ | | 54 | #define DEFROOTSIZE 64 /* Default root size */ |
55 | #define DEFVARSIZE 32 /* Default /var size, if created */ | | 55 | #define DEFVARSIZE 32 /* Default /var size, if created */ |
56 | #define DEFUSRSIZE 240 /* Default /usr size, if /home */ | | 56 | #define DEFUSRSIZE 240 /* Default /usr size, if /home */ |
57 | #define XNEEDMB 80 /* Extra megs for full X installation */ | | 57 | #define XNEEDMB 80 /* Extra megs for full X installation */ |
58 | | | 58 | |
| | | 59 | /* use UFS2 by default for ffs */ |
| | | 60 | #define DEFAULT_UFS2 |
| | | 61 | |
| | | 62 | /* have support for booting from UFS2 */ |
| | | 63 | #define HAVE_UFS2_BOOT |
| | | 64 | |
| | | 65 | /* allow using tmpfs for /tmp instead of mfs */ |
| | | 66 | #define HAVE_TMPFS |
| | | 67 | |
59 | /* | | 68 | /* |
60 | * Default filesets to fetch and install during installation | | 69 | * Default filesets to fetch and install during installation |
61 | * or upgrade. | | 70 | * or upgrade. |
62 | */ | | 71 | */ |
63 | #define SET_KERNEL_1_NAME "kern-GENERIC" | | 72 | #define SET_KERNEL_1_NAME "kern-GENERIC" |
64 | #define SET_KERNEL_2_NAME "kern-GENERIC.MP" | | 73 | #define SET_KERNEL_2_NAME "kern-GENERIC.MP" |
65 | | | 74 | |
66 | /* | | 75 | /* |
67 | * Machine-specific command to write a new label to a disk. | | 76 | * Machine-specific command to write a new label to a disk. |
68 | * If not defined, we assume the port does not support disklabels and | | 77 | * If not defined, we assume the port does not support disklabels and |
69 | * the hand-edited disklabel will NOT be written by MI code. | | 78 | * the hand-edited disklabel will NOT be written by MI code. |
70 | */ | | 79 | */ |
71 | #define DISKLABEL_CMD "disklabel -w -r" | | 80 | #define DISKLABEL_CMD "disklabel -w -r" |