NetBSD/sbin/disklabel
bouyer a47e2eb758 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.
2011-08-30 12:39:49 +00:00
..
Makefile Add getlabelusesmbr(), as proposed in 2011-08-30 12:39:49 +00:00
bswap.c
bswap.h
disklabel.5
disklabel.8 Sort sections. Remove comma in enumeration of two items. 2011-08-02 10:21:12 +00:00
dkcksum.c
dkcksum.h
extern.h
interact.c
main.c Add getlabelusesmbr(), as proposed in 2011-08-30 12:39:49 +00:00
pathnames.h
printlabel.c