Raspberry Pi
  • Introduction
  • Raspberry Pi
    • Cover
    • Raspberry Pi
    • Documentation
      • Embedded Linux Wiki
      • Adafruit
    • Education
      • HelloWorld
      • HackSpace
      • MagPi
    • Raspberry Pi Foundation
    • Sandbox
  • Embedded Linux
    • Introduction
    • Initialization
      • System Information
      • Kernel Ring Buffer
      • Root Directory
      • User Directory
      • Kernel Modules
      • Filesystem
        • DebugFs
        • SysFs
        • ProcFs
        • TmpFs
      • Memory
      • Processes
      • Interfaces
      • Software Configuration Tool
    • Subsystem
      • Peripheral I/O
        • GPIO
        • PWM
        • I2C
        • SPI
        • UART
      • Bluetooth
  • Services
    • Docker
    • Home Assistant
  • XunanKab
    • Untitled
  • Bitol
    • Untitled
Powered by GitBook
On this page
  1. Embedded Linux
  2. Initialization
  3. Filesystem

DebugFs

PreviousFilesystemNextSysFs

Last updated 7 years ago

_debugfs is a special file system available in the Linux kernel since version 2.6.10-rc3. It was written by Greg Kroah-Hartman. debugfs is a simple-to-use RAM-based file system specially designed for debugging purposes. It exists as a simple way for kernel developers to make information available to user space. Unlike /proc, which is only meant for information about a process, or sysfs, which has strict one-value-per-file rules, debugfs has no rules at all. Developers can put any information they want there.

pi@raspberrypi:~ $ mount | grep  debugfs
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
pi@raspberrypi:~ $
Wikipedia