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
F175562747: D31297.id.diff
Sun, Oct 11, 5:40 PM
Unknown Object (File)
Sat, Oct 3, 6:37 PM
Unknown Object (File)
Wed, Sep 30, 12:45 AM
Unknown Object (File)
Sat, Sep 12, 2:24 AM
Unknown Object (File)
Sep 11 2026, 3:19 AM
Unknown Object (File)
Sep 9 2026, 3:04 PM
Unknown Object (File)
Sep 5 2026, 2:17 AM
Unknown Object (File)
Sep 5 2026, 12:22 AM
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
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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....