FUNCTION::USRDEV2KER(3stap)

πŸ’« FUNCTION::USRDEV2KER πŸ’«

okay bestie, welcome to the Device Tapset corner of the SystemTap manual (yes the page header really does say FUNCTION::USRDEV2KER(3stap), we're keeping it πŸ’…). this one is short and sweet and honestly kinda iconic.


✨ NAME ✨

function::usrdev2kerndev β€” converts a user-space device number into the format used in the kernel πŸ¦‹

like, that's literally the whole job. you hand it a device number the way userspace sees it, and it hands you back the same device in the kernel's own little format. a glow-up, but for numbers. periodt.


🌸 SYNOPSIS 🌸

usrdev2kerndev:long(dev:long)

πŸŽ€ ARGUMENTS πŸŽ€

  • dev β€” the device number in user-space format. that's it, that's the whole input, she's lowkey undemanding πŸ‘‘

πŸ’– SEE ALSO πŸ’–

  • tapset::dev(3stap) β€” go read the dev tapset page too, it's giving the whole friend group 🌈

ngl this page has no options, no environment variables, no exit statuses, no bugs section, no authors, no copyright, no license β€” just one function doing one thing flawlessly. main character energy, honestly. πŸ’€

and that's the tea πŸ“ β€” this was the SystemTap Tapset Reference, Version dated September 2026, and the header says FUNCTION::USRDEV2KER(3stap) in case you forgot where you were. slay, bye bestie 🫢✨

πŸ“¦ where this page comes from