a47e2eb758
http://mail-index.netbsd.org/tech-userlevel/2011/08/25/msg005404.html This is used by disk tools such as disklabel(8) to dynamically decide is the undelyling platform uses a disklabel-in-mbr-partition or not (instead of using a compile-time list of ports). getlabelusesmbr() reads the sysctl kern.labelusesmbr, takes its value from the machdep #define LABELUSESMBR. For evbmips, make LABELUSESMBR 1 if the platform uses pmon as bootloader, and 0 (the previous value) otherwise.
9 lines
219 B
C
9 lines
219 B
C
/* $NetBSD: disklabel.h,v 1.4 2011/08/30 12:39:54 bouyer Exp $ */
|
|
|
|
#define LABELUSESMBR 1
|
|
#if HAVE_NBTOOL_CONFIG_H
|
|
#include <nbinclude/arm/disklabel.h>
|
|
#else
|
|
#include <arm/disklabel.h>
|
|
#endif /* HAVE_NBTOOL_CONFIG_H */
|