HomeFreeBSD

bsdinstall: Filter out devices that cannot be opened

Description

bsdinstall: Filter out devices that cannot be opened

Devices that cannot be opened are most likely the install media and
should not be listed as destinations.

Reviewed by: allanjude
Approved by: allanjude
Differential Revision: https://reviews.freebsd.org/D34879
Sponsored by: Rubicon Communications, LLC ("Netgate")

(cherry picked from commit 964ad27f1e48ec28247142cfe6afdfa1f8bd3182)

Details

Provenance
brdAuthored on May 13 2022, 2:33 PM
jhbCommitted on Jan 5 2024, 12:18 AM
Reviewer
allanjude
Differential Revision
D34879: bsdinstall: Filter out devices that cannot be opened
Parents
rG91a736d7016f: bsdinstall partedit: Use snprintf instead of sprintf for error messages
Branches
Unknown
Tags
Unknown