Home | History | Annotate | Download | only in include
History log of /src/sys/arch/macppc/include/disklabel.h
RevisionDateAuthorComments
 1.16  03-Apr-2019  christos centralize setdisklabel(9)
 1.15  30-Aug-2011  bouyer branches: 1.15.54;
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.14  11-Dec-2005  christos merge ktrace-lwp.
 1.13  08-Nov-2004  mbw Reverting.
Apparently these patches cause problems.
 1.12  07-Nov-2004  mbw Add disklabel recognition for another Apple file type
"BZB_ROOTFS_NEW 0xc000"
Also closes PR 10046
 1.11  10-May-2003  thorpej branches: 1.11.2;
Remove redundant bounds_check_with_label() prototype.
 1.10  10-Sep-2002  dbj added defines for new partition types found in the wild:
"Apple_UFS"
"Apple_Boot"
"Apple_Loader"
"Linux"
"Linux_swap"
removed duplicate define for "Apple_Patches"
 1.9  19-Jun-2002  itojun correct writedisklabel() on MBR-partitioned disk.

while here, correct labelsector/offset mismatch in writedisklabel,
when readdisklabel() have found the label at nonstandard location
(due to magic number search). a lot of other ports have the same problem.
 1.8  23-Mar-2002  wrstuden branches: 1.8.2;
Add support for storing NetBSD file system type codes inside of
an Apple Partition entry. As proposed to port-macppc. Also some
prototype modernization for touched routines.

Method is that NETBSD, NETBSD/MACPPC, NETBSD/MAC68K partitions,
if they have a valid bzb, contain all of the info we shove in a NetBSD
disklabel partition entry. defines in disklabel.h cover aliasing
some of the bzb fields.
 1.7  27-Feb-2001  matt branches: 1.7.4; 1.7.8;
Add Apple_FWDRIVER.
 1.6  23-Aug-2000  wrstuden Correctly spell DRIVER. Noted by Tsubai. :-)
 1.5  18-Aug-2000  wrstuden Add some new partition types, and flags. Have the Apple Partition Map
code ignore the new partition types, and look for the new "USR" partition
flag.

From SUNAGAWA Keiki <kei_sun@ba2.so-net.ne.jp> with slight changes by me.

Closes PR port-macppc/10046
 1.4  27-Sep-1999  wrstuden branches: 1.4.2; 1.4.12;
Add support for reading MacOS-partitioned disks. Stolen from the mac68k
port, but modified in that macppc searches for netbsd-partitioned disks
before MacOS partitioned disks, since installboot generates a fake MacOS
partition table which isn't the one we want to use.
 1.3  27-Jan-1999  thorpej branches: 1.3.2;
Use <sys/disklabel_mbr.h>.
 1.2  07-Jul-1998  thorpej Use fixed-size types.
 1.1  15-May-1998  tsubai Initial import of macppc port.
 1.3.2.1  19-Oct-1999  he Pull up revision 1.4 (requested by wrstuden):
Add support for reading MacOS-partitioned disks. Stolen from the mac68k
port, but modified in that macppc searches for netbsd-partitioned
disks before MacOS partitioned disks, since installboot generates a
fake MacOS partition table which isn't the one we want to use.
 1.4.12.1  28-Aug-2000  wrstuden Pull in some changes for Apple partitioning. Approved by thorpej.

> Log Message:
> Add some new partition types, and flags. Have the Apple Partition Map
> code ignore the new partition types, and look for the new "USR" partition
> flag.
>
> >From SUNAGAWA Keiki <kei_sun@ba2.so-net.ne.jp> with slight changes by me.
>
> Closes PR port-macppc/10046
 1.4.2.2  12-Mar-2001  bouyer Sync with HEAD.
 1.4.2.1  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.7.8.3  17-Sep-2002  nathanw Catch up to -current.
 1.7.8.2  01-Aug-2002  nathanw Catch up to -current.
 1.7.8.1  01-Apr-2002  nathanw Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
 1.7.4.3  10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.7.4.2  06-Sep-2002  jdolecek sync kqueue branch with HEAD
 1.7.4.1  23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.8.2.1  16-Jul-2002  gehenna catch up with -current.
 1.11.2.1  14-Nov-2004  skrll Sync with HEAD.
 1.15.54.1  10-Jun-2019  christos Sync with HEAD

RSS XML Feed