HomeFreeBSD

Fix a phase-ordering bug: check the mediasize and sectorsize after
rS161107Unpublished

Unpublished Commit ยท Learn More

No further details are available.

Description

Fix a phase-ordering bug: check the mediasize and sectorsize after
we obtained access. It is possible that GPT gets to taste a disk
first, which means the disk has not been opened before and it will
not get opened until after we checked the mediasize and sectorsize.
However, since the mediasize and sectorsize are determined at open
and that happens when access is optained, checking the mediasize
and sectorsize before obtaining access may result in GPT rejecting
the disk.

Details

Provenance
marcelAuthored on
Parents
rS161106: Update usage & SYNOPSIS and clarify that input files are not removed.
Branches
Unknown
Tags
Unknown

Event Timeline