1193323Sed/*	$NetBSD: md.h,v 1.3 2019/10/02 11:16:03 maya Exp $	*/
2193323Sed
3193323Sed/*
4193323Sed * Copyright 1997 Piermont Information Systems Inc.
5193323Sed * All rights reserved.
6193323Sed *
7193323Sed * Based on code written by Philip A. Nelson for Piermont Information
8193323Sed * Systems Inc.
9193323Sed *
10193323Sed * Redistribution and use in source and binary forms, with or without
11193323Sed * modification, are permitted provided that the following conditions
12193323Sed * are met:
13193323Sed * 1. Redistributions of source code must retain the above copyright
14193323Sed *    notice, this list of conditions and the following disclaimer.
15193323Sed * 2. Redistributions in binary form must reproduce the above copyright
16193323Sed *    notice, this list of conditions and the following disclaimer in the
17198090Srdivacky *    documentation and/or other materials provided with the distribution.
18193323Sed * 3. The name of Piermont Information Systems Inc. may not be used to endorse
19198090Srdivacky *    or promote products derived from this software without specific prior
20193323Sed *    written permission.
21193323Sed *
22193323Sed * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS''
23193323Sed * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
24193323Sed * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
25193323Sed * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE
26193323Sed * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
27193323Sed * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
28193323Sed * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
29195098Sed * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
30195098Sed * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
31193323Sed * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
32193323Sed * THE POSSIBILITY OF SUCH DAMAGE.
33193323Sed *
34193323Sed */
35193323Sed
36193323Sed/* md.h -- Machine specific definitions for the shark */
37193323Sed
38198090Srdivacky/* Constants and defines */
39193323Sed/* Megs for the /usr partition, if separate */
40193323Sed#define	DEFUSRSIZE	980
41198090Srdivacky
42193323Sed/* Megs required for a full X installation. */
43193323Sed#define XNEEDMB 	225
44193323Sed
45198396Srdivacky/* Megs required for debug sets */
46193323Sed#define	DEBNEEDMB	980
47193323Sed
48193323Sed/*
49198892Srdivacky *  Default filesets to fetch and install during installation
50193323Sed *  or upgrade. The standard sets are:
51193323Sed *      base etc comp games man misc rescue tests text xbase xcomp xetc xfont xserver
52193323Sed */
53193323Sed#define SET_KERNEL_1_NAME	"kern-GENERIC"
54193323Sed
55193323Sed/*
56193323Sed * Machine-specific command to write a new label to a disk.
57193323Sed * For example, shark uses "/sbin/disklabel -w -r".
58198090Srdivacky * Sun ports should probably use  DISKLABEL_CMD "/sbin/disklabel -w"
59193323Sed * to get incore to ondisk inode translation for the Sun proms.
60193323Sed * If not defined, we assume the port does not support disklabels and
61193323Sed * hand-edited disklabel will NOT be written by MI code.
62193323Sed */
63193323Sed#define DISKLABEL_CMD "disklabel -w -r"
64193323Sed