Page MenuHomeFreeBSD

Abstract ZFS preferred device detection
ClosedPublic

Authored by eric_metricspace.net on Oct 2 2017, 11:31 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Nov 3, 1:22 AM
Unknown Object (File)
Oct 24 2024, 4:54 PM
Unknown Object (File)
Oct 14 2024, 5:49 PM
Unknown Object (File)
Sep 24 2024, 8:39 AM
Unknown Object (File)
Sep 20 2024, 2:58 PM
Unknown Object (File)
Aug 31 2024, 10:27 AM
Unknown Object (File)
Aug 23 2024, 5:29 PM
Unknown Object (File)
Aug 14 2024, 8:32 PM
Subscribers
None

Details

Summary

This is a part of https://reviews.freebsd.org/D10447, and a precursor to that patch.

This abstracts the way that preferred ZFS devices are detected, paving the way for the boot1 refactor.

Test Plan

As of creation, this needs to be tested. The original change did introduce an error, so it needs to be tested with ZFS to ensure that separating it from D10447 didn't introduce new ones.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision was automatically updated to reflect the committed changes.

These looked good. I've committed it. efi_devpath_is_prefix is a bit of a duplication, but a useful one. It's also not yet used, but I assume further patches will use it.