summaryrefslogtreecommitdiffstats
path: root/sys/sys/sun_disklabel.h
Commit message (Collapse)AuthorAgeFilesLines
* Support VTOC volume names. This can be useful to distinguish multiplejoerg2005-03-301-1/+3
| | | | | | | disks in a system. Solaris' format(1m) displays the volume names in the disk overview. MFC after: 1 month
* /* -> /*- for license, minor formatting changesimp2005-01-071-1/+1
|
* Add SVR4-compatible VTOC-style elements to the Sun label. Thejoerg2004-06-011-0/+35
| | | | | FreeBSD kernel doesn't use them but sunlabel(8) shortly will, and both these files are used by sunlabel(8).
* Remove advertising clause from University of California Regent's license,imp2004-04-071-9/+0
| | | | | | per letter dated July 22, 1999. Approved by: core
* Introduce a #define for the length of the bootloader code.phk2003-04-231-0/+8
|
* Now that all uses of this file use explicit encoding/decoding, removephk2003-04-211-36/+12
| | | | | | | all the bits we do not need, and drop the attempt at "disk-image" structure definition. Add idempotency (sp?) #ifdef
* Add defines for number of partitions, raw partition index and size ofphk2003-04-211-1/+4
| | | | encoded data structure.
* Add prototypes for sunlabel_dec() and sunlabel_enc().phk2003-04-211-0/+3
| | | | Assume (for now) that all sun labels are big endian.
* Duh. #ifdef CTASSERT so we don't break user-land software.phk2002-10-291-0/+2
|
* Put a CTASSERT on the size of struct sun_disklabel.phk2002-10-281-0/+2
| | | | Sponsored by: DARPA & NAI Labs.
* Add a hack (ported from NetBSD) to support Sun disk labels.obrien2002-05-091-0/+101
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
OpenPOWER on IntegriCloud