DEVICE_QUIET(9)
π DEVICE_QUIET π
okay bestie, welcome to DEVICE_QUIET(9) from the Kernel Developer's Manual β this is the page about making devices stop yapping in your dmesg. yes, it's real, and yes, it's iconic.
β¨ NAME β¨
device_quiet, device_verbose, device_is_quiet β manipulate device quiet flag π
πΈ SYNOPSIS πΈ
#include <sys/param.h>
#include <sys/bus.h>
void
device_quiet(device_t dev);
void
device_verbose(device_t dev);
int
device_is_quiet(device_t dev);
like, copy that exactly, do not freestyle the includes, i am begging π«Ά
π¦ DESCRIPTION π¦
so. every single device has a quiet flag attached to it. that's the whole vibe. π
a device is verbose by default when it is created β main character energy, it wants to be seen, it wants to be heard β but you can quiet it, which prevents:
- printing of the device identification string during attach, and
- printing of a message during detach.
to quiet a device, call device_quiet() during a device driver probe routine. that's the moment, that's the window, that's when you do it. β¨
to re-enable probe messages, call device_verbose(). it's the undo button, it's giving second chances. π
to test to see if a device is quieted, call device_is_quiet() β she will tell you the truth, no cap. π₯
oh and heads up: devices are implicitly marked verbose after a driver detaches. so the quiet doesn't last forever, bestie. the system just does that on its own. periodt.
π SEE ALSO π
π AUTHORS π
this manual page was written by Doug Rabson. king behaviour honestly. π
that's the whole page, you ate it. this one came from the Debian crew and it's dated September 12, 2016 β old but still slaying fr fr ππΈβ¨
π¦ where this page comes from
- debian bookworm: freebsd-manpages 12.2-1 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- debian trixie: freebsd-manpages 12.2-2 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- ubuntu jammy: freebsd-manpages 12.2-1 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- ubuntu noble: freebsd-manpages 12.2-1 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- ubuntu questing: freebsd-manpages 12.2-2
- ubuntu resolute: freebsd-manpages 12.2-2build1 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- ubuntu stonking: freebsd-manpages 12.2-2build1 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- Copyright (c) 1998 Doug Rabson
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms