Add "wd", "sd" and "raid:no_mbr" disks in DISK_NAMES (and xbd:no_mbr,

but it's ignored as there's no support for Xen yet).

From Edgar Fu in PR port-amd64/36116.
This commit is contained in:
xtraeme 2007-04-08 16:47:38 +00:00
parent 5fa91a46b1
commit b23843afa1

View File

@ -1,4 +1,4 @@
/* $NetBSD: md.h,v 1.19 2006/02/26 10:25:52 dsl Exp $ */
/* $NetBSD: md.h,v 1.20 2007/04/08 16:47:38 xtraeme Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@ -72,6 +72,14 @@
#define SET_KERNEL_GENERIC SET_KERNEL_1
/*
* Disk names accepted as valid targets for a from-scratch installation.
*
* On amd64, we allow "wd" ST-506/IDE disks, "sd" scsi disks, "ld" logical
* disks and "raid" raidframe disks.
*/
#define DISK_NAMES "wd", "sd", "ld", "raid:no_mbr", "xbd:no_mbr"
/*
* Machine-specific command to write a new label to a disk.
* For example, i386 uses "/sbin/disklabel -w -r", just like i386