Code Yarns ‍👨‍💻
Tech BlogPersonal Blog


📅 2020-Dec-01 ⬩ ✍️ Ashwin Nanjappa ⬩ 🏷️ motherboard, sysfs ⬩ 📚 Archive

sysfs is a pseudo-filesystem that is used by the Linux kernel to share information and data structures from the kernel that might be useful to tools and users. This is typically found mounted at /sys and I typically use it to get information about the devices connected to my computer.

$ man 5 sysfs
$ ls -1 /sys/devices/virtual/dmi/id/board_*

$ cat /sys/devices/virtual/dmi/id/board_vendor

$ cat /sys/devices/virtual/dmi/id/board_name
X99 Extreme4

Tried with: Ubuntu 18.04

© 2022 Ashwin Nanjappa • All writing under CC BY-SA license • 🐘📧