HomeFreeBSD

loader: Replace EFI part devices.
AuditedrS313333

Description

loader: Replace EFI part devices.

Rewrite EFI part device interface to present disk devices in more
user friendly way.

We keep list of three types of devices: floppy, cd and disk, the
visible names: fdX: cdX: and diskX:

Use common/disk.c and common/part.c interfaces to manage the
partitioning.

The lsdev -l will additionally list the device path.

Reviewed by: imp, allanjude
Approved by: imp (mentor), allanjude (mentor)
Differential Revision: https://reviews.freebsd.org/D8581

Details

Auditors
allanjude
Provenance
tsoomeAuthored on
Reviewer
imp
Differential Revision
D8581: Replace EFI part devices.
Parents
rS313332: loader: bcache read ahead block count should take account the large sectors
Branches
Unknown
Tags
Unknown

Event Timeline

allanjude added inline comments.
/head/sys/boot/efi/loader/main.c
173

Accidentally removed call to init_zfs_bootenv() here, breaking the EFI menu on FreeBSD

397

Here is the important bit.

/head/sys/boot/efi/loader/main.c
204

actually I think it is here

All concerns with this commit have now been addressed.Apr 3 2017, 4:34 AM