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 Add necessary byteswap ops for tools disklabel(8) used with -F option 2010-01-05 15:45:26 +00:00
bswap.h Add necessary byteswap ops for tools disklabel(8) used with -F option 2010-01-05 15:45:26 +00:00
disklabel.5
disklabel.8 Sort sections. Remove comma in enumeration of two items. 2011-08-02 10:21:12 +00:00
dkcksum.c Add necessary byteswap ops for tools disklabel(8) used with -F option 2010-01-05 15:45:26 +00:00
dkcksum.h Add necessary byteswap ops for tools disklabel(8) used with -F option 2010-01-05 15:45:26 +00:00
extern.h
interact.c Change printf formats to match the data type of the values being 2011-01-06 21:39:01 +00:00
main.c Add getlabelusesmbr(), as proposed in 2011-08-30 12:39:49 +00:00
pathnames.h
printlabel.c Change printf formats to match the data type of the values being 2011-01-06 21:39:01 +00:00