History log of /netbsd/sys/arch/newsmips/include/disklabel.h (Results 1 – 2 of 2)
Revision Date Author Comments
# 509fd41b 30-Aug-2011 bouyer <bouyer@NetBSD.org>

Add getlabelusesmbr(), as proposed in
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 pla

Add getlabelusesmbr(), as proposed in
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.

show more ...


# 117df8f7 18-Feb-1998 tsubai <tsubai@NetBSD.org>

Initial import of NetBSD/news.