configfs

{{Short description|RAM-based virtual file system provided by the 2.6 Linux kerne}}

{{Use dmy dates|date=April 2025}}

Configfs is a RAM-based virtual file system provided by the 2.6 Linux kernel.{{Cite web|url=https://mjmwired.net/kernel/Documentation/filesystems/configfs/|title=Linux Kernel Documentation / filesystems / configfs|website=mjmwired.net|accessdate=3 April 2025|archive-date=21 June 2016|archive-url=https://web.archive.org/web/20160621233353/http://www.mjmwired.net/kernel/Documentation/filesystems/configfs/|url-status=live}}

Details

Configfs appears similar to sysfs but they are in fact different and complementary. Configfs is for creating, managing and destroying kernel objects from user-space, and sysfs for viewing and manipulating objects from user-space which are created and destroyed by kernel space.{{Cite web|url=https://lwn.net/Articles/148973/|title=Configfs - an introduction [LWN.net]|website=lwn.net|accessdate=3 April 2025}} It is typically mounted at /sys/kernel/config (or more rarely at /config).

See also

  • tmpfs
  • sysctl – an interface for examining and dynamically changing parameters in the BSD and Linux operating systems

References

{{reflist}}