USERCONF(4)
π USERCONF(4) β like, the kernel interfaces manual, bestie π
okay so picture this: it's USERCONF(4), from the Kernel Interfaces Manual, and she's literally the moment. strap in β¨
πΈ NAME πΈ
userconf β the in-kernel device configuration manager. yes, in-kernel. she lives inside the kernel. main character energy fr π
π¦ SYNOPSIS π¦
options USERCONF
that's it. that's the whole synopsis. iconic.
β¨ DESCRIPTION β¨
okay so userconf is the in-kernel device configuration manager. what does that even mean? it means she's the one who's allowed to go in and alter the kernel autoconfiguration framework at runtime. like, while everything's running. no reboot, no nothing. she just does it π
and how do you get her to show up? you activate her from the boot loader by passing the -c option to the kernel. that's the summoning ritual. that's it. that's the whole vibe check π«Ά
π COMMAND SYNTAX π
the general command syntax is literally just:
command [option]
so, command, and then maybe an option. sometimes. if she feels like it. ngl that's the whole grammar π
now here's the cute part: userconf has a more(1)-like functionality. meaning if a number of lines in a command's output exceeds the number defined in the lines variable, she hits you with the β-- more --β and then waits for a response. and your response can be one of these:
<return>β one more line. just one. a little sip π<space>β one more page. go off, load the whole thing πqβ abort the current command, and return to the command input mode. we're done here, bye π
π COMMANDS π
userconf supports the following commands, and yes i'm listing every single one because they all matter:
lines countβ specify the number of lines before more. this is the number that themore-like behaviour up there is checking against, iykyk.base 8 | 10 | 16β base for displaying large numbers. pick your fave: octal, decimal, or hex. choose your fighter π₯change devno | devβ change devices.disable devno | devβ disable devices. they're on timeout now πenable devno | devβ enable devices. welcome back bestie πexitβ a synonym forquit. same energy, different spelling.find devno | devβ find devices. where'd they go πhelpβ display online help. she's helping you help yourself πlistβ list current configuration. the whole roster, laid out βquitβ leaveuserconf. sad moment but okay π?β a synonym forhelp. shorter, cuter, same thing.
π§ HISTORY π§
the userconf framework first appeared in OpenBSD 2.0, and was then integrated into NetBSD 1.6. a whole journey. we love a cross-project glow-up β¨
πΊ AUTHORS πΊ
the userconf framework was written by Mats O Jansson β¨moj@stacken.kth.seβ©. thank you king, we see you π
okay that's the whole page, no cap. every flag, every command, every devno | dev, all of it. you're welcome bestie π«Ά
so yeah, that's userconf β shipped in the Debian world on July 1, 2001 π catch you at the boot loader, mwah π
π¦ where this page comes from
- nixpkgs unstable: netbsd-source 11.0
- Copyright (c) 2001 The NetBSD Foundation, Inc
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms