sys_class(5)
π NAME π
/sys/class/ β the device classes directory, and bestie it is so much more organized than the rest of /sys, fr fr
β¨ SYNOPSIS β¨
/sys/class/
π DESCRIPTION π
Okay so picture this: /sys/class/ is this one directory that holds a single layer of subdirectories β just one, no nesting drama, no rabbit holes β and each of those subdirectories is a device class</> that's been registered on your system. Like terminals, network devices, block devices, graphics devices, sound devices, and so on. The whole squad. π
Inside each of those class subdirectories? Symbolic links, one for each device hanging out in that class. And here's the plot twist β those symlinks don't point at random stuff, they point at entries in the /sys/devices/ directory. So /sys/class/ is basically the cute curated lobby and /sys/devices/ is the actual building where everyone lives. iykyk π¦
/sys/class/net/β oh you want the networking one specifically? Seesys_class_net(5). She got her own whole page, main character energy. π
π STANDARDS π
Linux. That's it, that's the standard. π§
π°οΈ HISTORY π°οΈ
Linux 2.6.0 β so like, ancient history in kernel years but still absolutely thriving. β
π SEE ALSO π
that's the whole page bestie, go forth and ls responsibly π«Ά
sending u love from Linux man-pages 6.20, dated 2026-09-09 β mwah π
π¦ where this page comes from
- arch rolling: man-pages 6.20-1 Β· BSD-2-Clause AND BSD-3-Clause AND BSD-4.3TAHOE AND BSD-4-Clause-UC AND GPL-1.0-or-later AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-or-later AND LGPL-3.0-linking-exception AND LGPL-3.0-or-later AND LicenseRef-Public-Domain AND LicenseRef-UltraPermissive AND Linux-man-pages-1-para AND Linux-man-pages-copyleft AND Linux-man-pages-copyleft-2-para AND Linux-man-pages-copyleft-var AND MIT AND Spencer-94
- nixpkgs unstable: man-pages 6.20
- π the page's license: Linux-man-pages-copyleft
- Copyright 2017, Michael Kerrisk <mtk.manpages@gmail.com>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms