OpenGrok
Cross Reference: getlabelsector.3
xref
: /
src
/
lib
/
libutil
/
getlabelsector.3
Home
|
History
|
Annotate
|
Download
|
only in
libutil
History log of
/src/lib/libutil/getlabelsector.3
Revision
Date
Author
Comments
1.8
14-Sep-2011
njoly
Kill empty Dv macro.
1.7
05-Sep-2011
wiz
Fix typo.
1.6
30-Aug-2011
bouyer
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.
1.5
24-Jun-2009
zafer
correct spelling error.
1.4
16-Apr-2003
wiz
Use
.In header.h
instead of
.Fd #include \*[Lt]header.h\*[Gt]
Much easier to read and write, and supported by groff for ages.
Okayed by ross.
1.3
19-Jan-2003
atatat
The next release will be 2.0, not 1.7.
1.2
18-Dec-2002
wiz
Misc fixes.
1.1
12-Dec-2002
scw
Add getlabelsector() and getlabeloffset() as wrappers around the
KERN_LABELSECTOR and KERN_LABELOFFSET sysctls.
Indexes created Tue Oct 14 06:10:07 GMT 2025