💾 Archived View for ebc.li › ulogs › 2020-08-10.gmi captured on 2022-01-08 at 13:51:23. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2021-11-30)
-=-=-=-=-=-=-
2020-08-10
If you compile your own Linux kernels very often like me, you might appreciate this tip:
When searching for an option with `/`, you can jump over to where it's defined by just pressing the number next to it.
Let's say I searched for `wireguard`. This is what will pop up:
Symbol: WIREGUARD [=m] Type : tristate Defined at drivers/net/Kconfig:74 Prompt: WireGuard secure network tunnel Depends on: NETDEVICES [=y] && NET_CORE [=y] && NET [=y] && <...snip...> Location: -> Device Drivers -> Network device support (NETDEVICES [=y]) (1) -> Network core driver support (NET_CORE [=y]) Selects: NET_UDP_TUNNEL [=m] && DST_CACHE [=y] && CRYPTO [=y] && <...snip...> Symbol: WIREGUARD_DEBUG [=n] Type : bool Defined at drivers/net/Kconfig:106 Prompt: Debugging checks and verbose messages Depends on: NETDEVICES [=y] && NET_CORE [=y] && WIREGUARD [=m] Location: -> Device Drivers -> Network device support (NETDEVICES [=y]) -> Network core driver support (NET_CORE [=y]) (2) -> WireGuard secure network tunnel (WIREGUARD [=m])
In the output above, the numbers next to the lines `Network core driver support` and `WireGuard secure network tunnel` are hotkeys, and if you press `1` or `2` in this page, you will jump to that option.
I've probably messed around with Linux kernel configuration for 2-3 years now, and I just today found out about this, by accident. I am now sad about all the seconds wasted trying to find something nested very deep...
🐺 · CC BY-SA 4.0 · me@ecmelberk.com