NetBSD/lib/libutil
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
..
compat
disklabel_dkcksum.3
disklabel_dkcksum.c
disklabel_scan.3
disklabel_scan.c
efun.3
efun.c
getbootfile.3
getbootfile.c
getlabelsector.3 Add getlabelusesmbr(), as proposed in 2011-08-30 12:39:49 +00:00
getlabelsector.c Add getlabelusesmbr(), as proposed in 2011-08-30 12:39:49 +00:00
getmaxpartitions.3
getmaxpartitions.c
getmntopts.3
getmntopts.c
getrawpartition.3
getrawpartition.c
if_media.c
login_cap.3
login_cap.c
login_tty.c
login.3
login.c
loginx.3
loginx.c
logout.c
logoutx.c
logwtmp.c
logwtmpx.c
Makefile Add getlabelusesmbr(), as proposed in 2011-08-30 12:39:49 +00:00
opendisk.3
opendisk.c
openpty.3
parsedate.3
parsedate.y
passwd.c fix freudian slip 2011-04-24 01:56:44 +00:00
pidfile.3
pidfile.c
pidlock.3
pidlock.c
pty.c
pw_getconf.3
pw_init.3
pw_lock.3
raise_default_signal.3
raise_default_signal.c
secure_path.3
secure_path.c
shlib_version Add getlabelusesmbr(), as proposed in 2011-08-30 12:39:49 +00:00
snprintb.3
sockaddr_snprintf.3
sockaddr_snprintf.c
stat_flags.3 Xref chflags(2) and stat_flags(3) with each other. 2011-08-06 11:28:24 +00:00
stat_flags.c
strpct.3 Minor cleanup. 2011-08-28 17:21:28 +00:00
strpct.c add strpct, requested by joerg 2011-08-28 07:45:13 +00:00
ttyaction.3
ttyaction.c
ttymsg.3
ttymsg.c
util.3 Fix markup-typo. 2011-08-29 12:39:50 +00:00