Home | History | Annotate | Download | only in include
History log of /src/sys/arch/sun3/include/disklabel.h
RevisionDateAuthorComments
 1.9  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.8  11-Dec-2005  christos merge ktrace-lwp.
 1.7  22-Jan-2005  chs de-__P, remove register, ansify, b* -> mem*, u_int*_t -> uint*_t.
 1.6  15-Nov-2003  bouyer branches: 1.6.8;
Commit changes proposed on tech-kern Thu, 6 Nov 2003
- factor out disksubr.c between sun3, sparc and sparc64. Keep the sun3
groveling code to find a NetBSD disklabel in the first sector (so that it
can find a label at the old sun3 LABELOFFSET) as a fallback is not
label at LABELOFFSET, or sun label is present.
- Fix the sun3 LABELOFFSET (was 64, but the kernel wrote the NetBSD label at
128)
- Make next68k disksubr.c always write a next-compatible disklabel.
- remove #ifdef __sparc__ hack from disklabel(8), and change it to issue
a DIOCWDINFO after writing the disklabel to the raw partition in the
-r/-I case (so that the kernel can convert the label if needed).
 1.5  24-Oct-1998  kleink branches: 1.5.46;
Remove argument name from function declaration.
 1.4  04-Mar-1997  gwr Add declaration for isbad().
 1.3  10-Nov-1995  gwr branches: 1.3.8;
Fix a comment while I'm here...
 1.2  24-May-1995  gwr branches: 1.2.2;
Make struct cpu_disklabel hold the Sun disk label.
 1.1  14-Oct-1994  cgd move arch dependence to archs. clean up a bit. deal with weird MAXPARTITONS.
 1.2.2.1  10-Nov-1995  gwr Update from HEAD
 1.3.8.1  12-Mar-1997  is Merge in changes from The Trunk
 1.5.46.4  24-Jan-2005  skrll Sync with HEAD.
 1.5.46.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.5.46.2  18-Sep-2004  skrll Sync with HEAD.
 1.5.46.1  03-Aug-2004  skrll Sync with HEAD
 1.6.8.1  29-Apr-2005  kent sync with -current

RSS XML Feed