FUNCTION::MKDEV(3stap)
π FUNCTION::MKDEV π
okay bestie, welcome to the Device Tapset corner of the SystemTap manual β¨ this one is short but she's mighty, and honestly? iconic. no cap.
πΈ NAME πΈ
function::MKDEV β she creates a value that you can compare against a kernel device number, aka a kdev_t π
like. that's the whole job. and she does it flawlessly.
β¨ SYNOPSIS β¨
MKDEV:long(major:long,minor:long)
look at her. two args in, one long out. main character energy fr fr π«Ά
π ARGUMENTS π
majorβ the intended major device number. you bring the major, she handles the rest πminorβ the intended minor device number. yeah. that one. the minor. the little guy. the sidekick π¦
lowkey important:majoris the intended major device number, andminoris the intended minor device number. the word "intended" is doing real work here, so don't sleep on it π
π§ a lil sign-off π§
and that's the whole page, bestie!! this was pulled straight from the SystemTap Tapset Reference, and the version + date at the bottom of the original said September 2026 β so yeah, she's fresh, she's current, she ate and left no crumbs ππΈ
now go forth and compare your kdev_t values with confidence. periodt. πβ¨π
π¦ where this page comes from
- centos-stream 10: systemtap-client 5.6-3.el10 Β· GPL-2.0-or-later AND GPL-2.0-only AND BSD-3-Clause AND LGPL-2.1-only AND GFDL-1.2-or-later AND BSD-2-Clause
- centos-stream 9: systemtap-client 5.6-3.el9 Β· GPL-2.0-or-later AND GPL-2.0-only AND BSD-3-Clause AND LGPL-2.1-only AND GFDL-1.2-or-later AND BSD-2-Clause
- fedora 43: systemtap-client 5.6-1.fc43 Β· GPL-2.0-or-later AND GPL-2.0-only AND BSD-3-Clause AND LGPL-2.1-only AND GFDL-1.2-or-later AND BSD-2-Clause
- fedora 44: systemtap-client 5.6-1.fc44 Β· GPL-2.0-or-later AND GPL-2.0-only AND BSD-3-Clause AND LGPL-2.1-only AND GFDL-1.2-or-later AND BSD-2-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms