Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src
Module Name: src
Committed By: bouyer
Date: Tue Aug 30 12:39:59 UTC 2011
Modified Files:
src/distrib/sets/lists/base: ad.mips64eb ad.mips64el md.amd64
md.sparc64 shl.mi
src/distrib/sets/lists/comp: ad.mips64eb ad.mips64el md.amd64
md.sparc64 mi shl.mi
src/include: util.h
src/lib/libutil: Makefile getlabelsector.3 getlabelsector.c
shlib_version
src/sbin/disklabel: Makefile main.c
src/sys/arch/acorn26/include: disklabel.h
src/sys/arch/acorn32/include: disklabel.h
src/sys/arch/algor/include: disklabel.h
src/sys/arch/alpha/include: disklabel.h
src/sys/arch/amd64/include: disklabel.h
src/sys/arch/amiga/include: disklabel.h
src/sys/arch/amigappc/include: disklabel.h
src/sys/arch/arc/include: disklabel.h
src/sys/arch/arm/include: disklabel.h
src/sys/arch/atari/include: disklabel.h
src/sys/arch/bebox/include: disklabel.h
src/sys/arch/cats/include: disklabel.h
src/sys/arch/cesfic/include: disklabel.h
src/sys/arch/cobalt/include: disklabel.h
src/sys/arch/dreamcast/include: disklabel.h
src/sys/arch/emips/include: disklabel.h
src/sys/arch/evbarm/include: disklabel.h
src/sys/arch/evbmips/include: disklabel.h
src/sys/arch/evbppc/include: disklabel.h
src/sys/arch/evbsh3/include: disklabel.h
src/sys/arch/ews4800mips/include: disklabel.h
src/sys/arch/hp300/include: disklabel.h
src/sys/arch/hp700/include: disklabel.h
src/sys/arch/hpcarm/include: disklabel.h
src/sys/arch/hpcmips/include: disklabel.h
src/sys/arch/hpcsh/include: disklabel.h
src/sys/arch/i386/include: disklabel.h
src/sys/arch/ia64/include: disklabel.h
src/sys/arch/ibmnws/include: disklabel.h
src/sys/arch/iyonix/include: disklabel.h
src/sys/arch/landisk/include: disklabel.h
src/sys/arch/luna68k/include: disklabel.h
src/sys/arch/mac68k/include: disklabel.h
src/sys/arch/macppc/include: disklabel.h
src/sys/arch/mipsco/include: disklabel.h
src/sys/arch/mmeye/include: disklabel.h
src/sys/arch/mvme68k/include: disklabel.h
src/sys/arch/mvmeppc/include: disklabel.h
src/sys/arch/netwinder/include: disklabel.h
src/sys/arch/news68k/include: disklabel.h
src/sys/arch/newsmips/include: disklabel.h
src/sys/arch/next68k/include: disklabel.h
src/sys/arch/ofppc/include: disklabel.h
src/sys/arch/pmax/include: disklabel.h
src/sys/arch/prep/include: disklabel.h
src/sys/arch/rs6000/include: disklabel.h
src/sys/arch/sandpoint/include: disklabel.h
src/sys/arch/sbmips/include: disklabel.h
src/sys/arch/sgimips/include: disklabel.h
src/sys/arch/shark/include: disklabel.h
src/sys/arch/sparc/include: disklabel.h
src/sys/arch/sun3/include: disklabel.h
src/sys/arch/sun68k/include: disklabel.h
src/sys/arch/vax/include: disklabel.h
src/sys/arch/x68k/include: disklabel.h
src/sys/arch/zaurus/include: disklabel.h
src/sys/kern: init_sysctl.c
Log Message:
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.
To generate a diff of this commit:
cvs rdiff -u -r1.64 -r1.65 src/distrib/sets/lists/base/ad.mips64eb
cvs rdiff -u -r1.61 -r1.62 src/distrib/sets/lists/base/ad.mips64el
cvs rdiff -u -r1.135 -r1.136 src/distrib/sets/lists/base/md.amd64
cvs rdiff -u -r1.128 -r1.129 src/distrib/sets/lists/base/md.sparc64
cvs rdiff -u -r1.597 -r1.598 src/distrib/sets/lists/base/shl.mi
cvs rdiff -u -r1.49 -r1.50 src/distrib/sets/lists/comp/ad.mips64eb \
src/distrib/sets/lists/comp/ad.mips64el
cvs rdiff -u -r1.131 -r1.132 src/distrib/sets/lists/comp/md.amd64
cvs rdiff -u -r1.116 -r1.117 src/distrib/sets/lists/comp/md.sparc64
cvs rdiff -u -r1.1667 -r1.1668 src/distrib/sets/lists/comp/mi
cvs rdiff -u -r1.186 -r1.187 src/distrib/sets/lists/comp/shl.mi
cvs rdiff -u -r1.58 -r1.59 src/include/util.h
cvs rdiff -u -r1.65 -r1.66 src/lib/libutil/Makefile
cvs rdiff -u -r1.5 -r1.6 src/lib/libutil/getlabelsector.3
cvs rdiff -u -r1.3 -r1.4 src/lib/libutil/getlabelsector.c
cvs rdiff -u -r1.48 -r1.49 src/lib/libutil/shlib_version
cvs rdiff -u -r1.68 -r1.69 src/sbin/disklabel/Makefile
cvs rdiff -u -r1.25 -r1.26 src/sbin/disklabel/main.c
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/acorn26/include/disklabel.h
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/acorn32/include/disklabel.h
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/algor/include/disklabel.h
cvs rdiff -u -r1.10 -r1.11 src/sys/arch/alpha/include/disklabel.h
cvs rdiff -u -r1.9 -r1.10 src/sys/arch/amd64/include/disklabel.h
cvs rdiff -u -r1.7 -r1.8 src/sys/arch/amiga/include/disklabel.h
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/amigappc/include/disklabel.h
cvs rdiff -u -r1.10 -r1.11 src/sys/arch/arc/include/disklabel.h
cvs rdiff -u -r1.9 -r1.10 src/sys/arch/arm/include/disklabel.h
cvs rdiff -u -r1.8 -r1.9 src/sys/arch/atari/include/disklabel.h
cvs rdiff -u -r1.9 -r1.10 src/sys/arch/bebox/include/disklabel.h
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/cats/include/disklabel.h
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/cesfic/include/disklabel.h
cvs rdiff -u -r1.10 -r1.11 src/sys/arch/cobalt/include/disklabel.h
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/dreamcast/include/disklabel.h
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/emips/include/disklabel.h
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/evbarm/include/disklabel.h
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/evbmips/include/disklabel.h
cvs rdiff -u -r1.6 -r1.7 src/sys/arch/evbppc/include/disklabel.h
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/evbsh3/include/disklabel.h
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/ews4800mips/include/disklabel.h
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/hp300/include/disklabel.h
cvs rdiff -u -r1.8 -r1.9 src/sys/arch/hp700/include/disklabel.h
cvs rdiff -u -r1.8 -r1.9 src/sys/arch/hpcarm/include/disklabel.h
cvs rdiff -u -r1.9 -r1.10 src/sys/arch/hpcmips/include/disklabel.h
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/hpcsh/include/disklabel.h
cvs rdiff -u -r1.15 -r1.16 src/sys/arch/i386/include/disklabel.h
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/ia64/include/disklabel.h
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/ibmnws/include/disklabel.h
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/iyonix/include/disklabel.h
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/landisk/include/disklabel.h
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/luna68k/include/disklabel.h
cvs rdiff -u -r1.6 -r1.7 src/sys/arch/mac68k/include/disklabel.h
cvs rdiff -u -r1.14 -r1.15 src/sys/arch/macppc/include/disklabel.h
cvs rdiff -u -r1.7 -r1.8 src/sys/arch/mipsco/include/disklabel.h
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/mmeye/include/disklabel.h
cvs rdiff -u -r1.10 -r1.11 src/sys/arch/mvme68k/include/disklabel.h
cvs rdiff -u -r1.7 -r1.8 src/sys/arch/mvmeppc/include/disklabel.h
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/netwinder/include/disklabel.h
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/news68k/include/disklabel.h
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/newsmips/include/disklabel.h
cvs rdiff -u -r1.6 -r1.7 src/sys/arch/next68k/include/disklabel.h
cvs rdiff -u -r1.9 -r1.10 src/sys/arch/ofppc/include/disklabel.h
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/pmax/include/disklabel.h
cvs rdiff -u -r1.8 -r1.9 src/sys/arch/prep/include/disklabel.h
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/rs6000/include/disklabel.h
cvs rdiff -u -r1.7 -r1.8 src/sys/arch/sandpoint/include/disklabel.h
cvs rdiff -u -r1.7 -r1.8 src/sys/arch/sbmips/include/disklabel.h
cvs rdiff -u -r1.9 -r1.10 src/sys/arch/sgimips/include/disklabel.h
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/shark/include/disklabel.h
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/sparc/include/disklabel.h
cvs rdiff -u -r1.8 -r1.9 src/sys/arch/sun3/include/disklabel.h
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/sun68k/include/disklabel.h
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/vax/include/disklabel.h
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/x68k/include/disklabel.h
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/zaurus/include/disklabel.h
cvs rdiff -u -r1.182 -r1.183 src/sys/kern/init_sysctl.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index