Page MenuHomeFreeBSD

stand: Add devformat to return formatted string for a device
ClosedPublic

Authored by imp on Jul 25 2022, 8:32 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Jun 1, 3:04 PM
Unknown Object (File)
Sun, Jun 1, 11:51 AM
Unknown Object (File)
Sun, May 18, 12:01 PM
Unknown Object (File)
May 5 2025, 8:23 PM
Unknown Object (File)
Apr 29 2025, 6:57 AM
Unknown Object (File)
Apr 27 2025, 10:20 PM
Unknown Object (File)
Apr 7 2025, 2:13 AM
Unknown Object (File)
Mar 15 2025, 3:42 AM
Subscribers

Details

Summary

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

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 46561
Build 43450: arc lint + arc unit

Event Timeline

imp requested review of this revision.Jul 25 2022, 8:32 PM
tsoome added inline comments.
stand/libsa/dev.c
65

cstyle tells us: Test pointers against NULL

This revision is now accepted and ready to land.Jul 25 2022, 10:33 PM
This revision now requires review to proceed.Jul 25 2022, 10:45 PM
This revision was not accepted when it landed; it landed in state Needs Review.Aug 11 2022, 4:28 PM
This revision was automatically updated to reflect the committed changes.