VFINDDEV(9)
πΈ VFINDDEV(9) πΈ
okay bestie, welcome to the Kernel Developer's Manual corner of the group chat. this one is VFINDDEV(9), and it's giving βshort and iconic, no notes.β π
β¨ NAME β¨
vfinddev β lookup a vnode by device number. periodt. π
π SYNOPSIS π
here's the literal summoning circle, keep the formatting exactly as-is:
#include <sys/param.h>
#include <sys/vnode.h>
int
vfinddev(dev_t dev, enum vtype type, struct vnode **vpp);
π¦ DESCRIPTION π¦
okay so the vfinddev() function returns a pointer to the vnode of the device represented by the device number dev and of type type in vpp. yes, that is literally the whole mission. no cap. π«Ά
π₯ RETURN VALUES π₯
the vibe check on vfinddev() is:
1β a corresponding vnode was found, slay β¨0β otherwise, bestie π
π SEE ALSO π
iykyk, go read that one next. π
π HISTORY π
fun fact from the archives: this man page was originally written for OpenBSD. iconic behavior, honestly. π
xoxo, your Debian bestie π β dropping this from June 4, 2013, with all the love and absolutely no cap. π¦β¨
π¦ where this page comes from
- nixpkgs unstable: cvs-export
- Copyright (c) 2002 Peter Werner
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms