HomeFreeBSD

stand: Use devformat rather than disk_devfmt

Description

stand: Use devformat rather than disk_devfmt

Fix layering violation and use devformat to get the string
representation of the device to see if we're mounted yet or not. Remove
added include to pickup disk.h.

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

Details

Provenance
impAuthored on Aug 11 2022, 3:06 PM
Reviewer
tsoome
Differential Revision
D35919: stand: Use devformat rather than disk_devfmt
Parents
rGad759c73522e: stand: Add disk_fmtdev for dv_fmtdev for all the disk devices
Branches
Unknown
Tags
Unknown