Page MenuHomeFreeBSD

lua loader: Add disable-device to disable a device.
ClosedPublic

Authored by imp on Jul 24 2021, 4:36 AM.
Tags
None
Referenced Files
F165180528: D31297.id92702.diff
Thu, Aug 6, 2:28 PM
F165173481: D31297.id92910.diff
Thu, Aug 6, 1:42 PM
Unknown Object (File)
Wed, Aug 5, 3:01 AM
Unknown Object (File)
Mon, Jul 20, 3:02 AM
Unknown Object (File)
Mon, Jul 20, 2:59 AM
Unknown Object (File)
Jul 2 2026, 10:42 PM
Unknown Object (File)
Jun 25 2026, 6:41 AM
Unknown Object (File)
Jun 14 2026, 11:13 PM
Subscribers

Details

Summary

disable-device fooX will set hint.foo.X.disabled=1 as a way to easily
disable a device attaching during boot.

Sponsored by: Netflix

Diff Detail

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

Event Timeline

imp requested review of this revision.Jul 24 2021, 4:36 AM
tsoome added inline comments.
stand/lua/cli.lua
248

is it worth it to list disabled devices here?

This revision is now accepted and ready to land.Jul 24 2021, 3:11 PM
stand/lua/cli.lua
248

I don't think there's enough demand for that...and I'm not sure the proper interface for it anyway....