DEVICE_GET_PARENT(9)
β¨ NAME β¨
device_get_parent β bestie, it hands u the device's parent π
πΈ SYNOPSIS πΈ
ok so first u gotta pull in the lore:
#include <sys/param.h>
#include <sys/bus.h>
device_t
device_get_parent(device_t dev);
π DESCRIPTION π
the device_get_parent() function returns the name of the device's parent device. that's it. that's the whole gig. ur device has a parent, and this function is the one that tells u who it is π«Ά
literally the "who's ur daddy" of kernel dev, no cap π
π¦ SEE ALSO π¦
device(9)β go read this one too, it's giving main character energy β
π AUTHORS π
this manual page was written by Warner Losh. iconic behavior, we love to see it π
and that's the whole page bestie!! go forth and find ur parents π§ββοΈβ¨
this lil page came from the Debian crew, dated April 21, 2003 β yeah it's vintage, it's still slaying tho π π
π¦ 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) 2003 M. Warner Losh
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms