HomeFreeBSD

Restore the ability to override the disk unit/partition at the boot: prompt

Description

Restore the ability to override the disk unit/partition at the boot: prompt
in gptboot.

When arch-independent geli support was added, a new static 'gdsk' struct
was added, but there was still a static 'dsk' struct, and when you typed
in an alternate disk/partition, the string was parsed into that struct,
which was then never used for anything. Now the string gets parsed into
gdsk.dsk, the struct that's actually used.

X-MFC after: 3 days

Details

Provenance
ianAuthored on
Parents
rS341070: Revert r341069, I committed it to the wrong branch.
Branches
Unknown
Tags
Unknown