debugfs is a special file system available in the Linux kernel since version 2.6.10-rc3.[1] It was written by Greg Kroah-Hartman.[2]
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.[3] 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.[4]
^Linux: DebugFS Archived 2010-02-01 at the Wayback Machine, by Jeremy, December 11, 2004, KernelTrap. (Announcement of debugfs by Greg KH.)
^"Debugfs". LWN.net. 2004-12-13.
^Linux Kernel Documentation :: filesystems : debugfs.txt documentation from the source code (Based on kernel version 2.6.35.4. Page generated on 2010-09-02 21:39 EST.)
^An updated guide to debugfs, By Jonathan Corbet, May 25, 2009, LWN
link inside the debug filesystem. debugfs_remove – for removing a debugfs entry from the debug filesystem. Linux: DebugFS Archived 2010-02-01 at the Wayback...
device attributes chattr change file attributes on a Linux file system debugfs used to manually view or modify internal structures of the file system...
holding information about buses, devices, firmware, filesystems, etc. debugfs – a virtual file system in Linux for accessing and controlling kernel debugging...
readable and writable virtual files contained in a specifically mounted debugfs file system; as a result, ftrace requires no specialized userspace utilities...