Page MenuHomeFreeBSD

lsdev device name section headers should be printed by dv_print callback.
ClosedPublic

Authored by tsoome on Nov 17 2016, 9:12 PM.
Tags
None
Referenced Files
Unknown Object (File)
Nov 16 2024, 6:39 PM
Unknown Object (File)
Nov 13 2024, 3:15 PM
Unknown Object (File)
Nov 11 2024, 8:28 AM
Unknown Object (File)
Nov 11 2024, 6:11 AM
Unknown Object (File)
Nov 11 2024, 5:19 AM
Unknown Object (File)
Nov 11 2024, 2:23 AM
Unknown Object (File)
Nov 11 2024, 2:16 AM
Unknown Object (File)
Oct 17 2024, 11:08 PM
Subscribers

Details

Summary

lsdev command does walk over devsw list, prints list element name and
will use dv_print() callback to print the device list.
Unfortunately this approach will add unneeded noise when there are no
particular devices detected.

To remove "empty" device section headers, the dv_print() callback
should print the header instead.

In addition, fixed dv_print callback for md module.

Diff Detail

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

Event Timeline

tsoome retitled this revision from to lsdev device name section headers should be printed by dv_print callback..
tsoome updated this object.
tsoome edited the test plan for this revision. (Show Details)
tsoome added reviewers: allanjude, imp.
imp edited edge metadata.
This revision is now accepted and ready to land.Nov 17 2016, 9:18 PM
This revision was automatically updated to reflect the committed changes.