Home | History | Annotate | Download | only in include
History log of /src/sys/arch/netwinder/include/disklabel.h
RevisionDateAuthorComments
 1.7  07-May-2013  matt Make all ports use a common disklabel.h with MAXPARTITIONS set to 16.
Only RAW_PART varies between ports.
 1.6  30-Aug-2011  bouyer branches: 1.6.2; 1.6.12;
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  11-Dec-2005  christos merge ktrace-lwp.
 1.4  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.3  25-Nov-2001  thorpej branches: 1.3.16;
End the "new ARM includes strategy" experiment. The new strategy
broke too many assumptions makde by other parts of the source tree,
and the strategy and how it was supposed to work was never discussed
on tech-userlevel, nor was it applied consistently (to all ARM ports
and to other ports which have common MACHINE_ARCH code, such as MIPS,
m68k, powerpc).

Verified to complete a full "make build" on cats, dnard, evbarm,
and netwinder.
 1.2  12-Jun-2001  matt branches: 1.2.2; 1.2.8;
Nuke include files which are just <arm/foo.h>. Adjust Makefile accordingly.
 1.1  19-Apr-2001  matt branches: 1.1.2;
Populate the netwinder include directory.
 1.1.2.2  21-Apr-2001  bouyer Sync with HEAD
 1.1.2.1  19-Apr-2001  bouyer file disklabel.h was added on branch thorpej_scsipi on 2001-04-21 17:54:12 +0000
 1.2.8.1  08-Jan-2002  nathanw Catch up to -current.
 1.2.2.1  10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.3.16.1  10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.6.12.1  23-Jun-2013  tls resync from head
 1.6.2.1  22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")

RSS XML Feed