HomeFreeBSD

The Sun disk label only uses 16-bit fields for cylinders, heads and
rS176197Unpublished

Unpublished Commit ยท Learn More

No further details are available.

Description

The Sun disk label only uses 16-bit fields for cylinders, heads and
sectors so the geometry of large IDE disks has to be adjusted. This
corresponds to what the OpenSolaris dad(7D) driver does except that
the latter only tweaks sectors and effectively limits the mediasize
to 128GB so the cylinders and heads fields won't ever overflow. Not
limiting the mediasize is a compromise between allowing to use Sun
disk label as far as possible and being able to use the entire disk
with another disk label.
This allows to use the full capacity of large IDE disks if they were
not labeled under (Open)Solaris (in both ways of the meaning).

MFC after: 2 weeks

Details

Provenance
mariusAuthored on
Parents
rS176196: MFOpenBSD rev 1.393 pf.conf.5
Branches
Unknown
Tags
Unknown

Event Timeline