Home | History | Annotate | Download | only in include
History log of /src/sys/arch/sgimips/include/disklabel.h
RevisionDateAuthorComments
 1.10  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.9  11-Dec-2005  christos merge ktrace-lwp.
 1.8  12-Jun-2005  dyoung Make disklabel(8) and fdisk(8) into "host tools " last step: build
and install ${TOOLDIR}/bin/${MACHINE_GNU_PLATFORM}-disklabel,
${TOOLDIR}/bin/${MACHINE_GNU_PLATFORM}-fdisk by "reaching over" to
the sources in ${NETBSDSRCDIR}/sbin/{disklabel fdisk}/.

To avoid clashes with a build-host's header files, especially on
*BSD, the host-tools versions of fdisk and disklabel search for
#includes such as disklabel.h, disklabel_acorn.h, disklabel_gpt.h,
and bootinfo.h in a new #includes namespace, nbinclude/. That is,
they #include <nbinclude/sys/disklabel.h>, <nbinclude/machine/disklabel.h>,
<nbinclude/sparc64/disklabel.h>, instead of <sys/disklabel.h> and
such. I have also updated the system headers to #include from
nbinclude/-space when HAVE_NBTOOL_CONFIG_H is #defined.
 1.7  24-Nov-2004  jmc Pull host/arch native label information into bootblock.h. Therefore pieces of
this are accessible from host tools.
 1.6  17-Nov-2003  keihan branches: 1.6.4;
www.netbsd.org -> www.NetBSD.org
 1.5  13-Mar-2002  simonb branches: 1.5.12;
Replace lots of 8x<space> with <tabs> and other miscellaneous indentation
fixes.
Wrap a couple of long lines.
Use <return-type>\n<function name> as per KNF in a few places.
 1.4  28-Jan-2002  lukem cosmetic reorder of #defines to match other ports
 1.3  19-Nov-2001  soren Remove obsolete comment.
 1.2  10-Nov-2001  wdk branches: 1.2.2;
NetBSD Disklabel and SGI Volume header support. Based on NetBSD/mipsco
due to its similarities.

Patch has been tested by many people on the sgimips list for some time with
no complaints.

Contributed by: Christopher SEKIYA <wileyc@rezrov.net>
 1.1  14-Jun-2000  soren branches: 1.1.4; 1.1.6; 1.1.10; 1.1.12;
Initial commit.
 1.1.12.1  12-Nov-2001  thorpej Sync the thorpej-mips-cache branch with -current.
 1.1.10.3  16-Mar-2002  jdolecek Catch up with -current.
 1.1.10.2  11-Feb-2002  jdolecek Sync w/ -current.
 1.1.10.1  10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.1.6.2  20-Nov-2000  bouyer Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.
 1.1.6.1  14-Jun-2000  bouyer file disklabel.h was added on branch thorpej_scsipi on 2000-11-20 20:23:44 +0000
 1.1.4.2  22-Jun-2000  minoura Sync w/ netbsd-1-5-base.
 1.1.4.1  14-Jun-2000  minoura file disklabel.h was added on branch minoura-xpg4dl on 2000-06-22 17:03:15 +0000
 1.2.2.4  01-Apr-2002  nathanw Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
 1.2.2.3  28-Feb-2002  nathanw Catch up to -current.
 1.2.2.2  08-Jan-2002  nathanw Catch up to -current.
 1.2.2.1  10-Nov-2001  nathanw file disklabel.h was added on branch nathanw_sa on 2002-01-08 00:27:30 +0000
 1.5.12.5  10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.5.12.4  29-Nov-2004  skrll Sync with HEAD.
 1.5.12.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.5.12.2  18-Sep-2004  skrll Sync with HEAD.
 1.5.12.1  03-Aug-2004  skrll Sync with HEAD
 1.6.4.1  06-Apr-2005  tron Pull up revision 1.7 (requested by jmc in ticket #1028):
Pull host/arch native label information into bootblock.h. Therefore pieces of
this are accessible from host tools.

RSS XML Feed