HomeFreeBSD

stand: Add devformat to return formatted string for a device

Description

stand: Add devformat to return formatted string for a device

Use dv_fmtdev to return a formatted string for a device. If this is a
null pointer, return the device name and unit followed by a colon (eg
disk3:).

Sponsored by: Netflix
Reviewed by: tsoome (prior version)
Differential Revision: https://reviews.freebsd.org/D35916

Details

Provenance
impAuthored on Aug 11 2022, 3:06 PM
Reviewer
tsoome
Differential Revision
D35916: stand: Add devformat to return formatted string for a device
Parents
rG4d4b1a298c84: stand: Add dv_devfmt to return a string represenation of the device
Branches
Unknown
Tags
Unknown