History log of /freebsd-9.3-release/sys/sys/sun_disklabel.h
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 267654 19-Jun-2014 gjb

Copy stable/9 to releng/9.3 as part of the 9.3-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

# 225736 22-Sep-2011 kensmith

Copy head to stable/9 as part of 9.0-RELEASE release cycle.

Approved by: re (implicit)


# 144328 30-Mar-2005 joerg

Support VTOC volume names. This can be useful to distinguish multiple
disks in a system. Solaris' format(1m) displays the volume names in
the disk overview.

MFC after: 1 month


# 139825 07-Jan-2005 imp

/* -> /*- for license, minor formatting changes


# 129963 01-Jun-2004 joerg

Add SVR4-compatible VTOC-style elements to the Sun label. The
FreeBSD kernel doesn't use them but sunlabel(8) shortly will,
and both these files are used by sunlabel(8).


# 127976 07-Apr-2004 imp

Remove advertising clause from University of California Regent's license,
per letter dated July 22, 1999.

Approved by: core


# 113894 23-Apr-2003 phk

Introduce a #define for the length of the bootloader code.


# 113825 21-Apr-2003 phk

Now that all uses of this file use explicit encoding/decoding, remove
all the bits we do not need, and drop the attempt at "disk-image"
structure definition.

Add idempotency (sp?) #ifdef


# 113817 21-Apr-2003 phk

Add defines for number of partitions, raw partition index and size of
encoded data structure.


# 113816 21-Apr-2003 phk

Add prototypes for sunlabel_dec() and sunlabel_enc().
Assume (for now) that all sun labels are big endian.


# 106112 29-Oct-2002 phk

Duh. #ifdef CTASSERT so we don't break user-land software.


# 106105 28-Oct-2002 phk

Put a CTASSERT on the size of struct sun_disklabel.

Sponsored by: DARPA & NAI Labs.


# 96267 09-May-2002 obrien

Add a hack (ported from NetBSD) to support Sun disk labels.
This code works by converting the Sun label to a struct disklabel, which
is probably even the right thing for reading a label. The original
checksum is taken over, so that the label source can be distinguished.

The NetBSD code to wrap a BSD-style disklabel into the Sun disklabel has been
deleted for now - don't know whether that is really desirable, after all Sun
disklabels could just be used always (BSD disklabels are going to have
problems with PROM compatability). The dsinit() call in diskopen() has been
#ifdef'ed out for now, this will be changed to use the minimal slice struct
in case of dsinit() failure.

Submitted by: tmm
Obtained from: NetBSD