# Configfs

> Mediated Wiki article. Canonical URL: https://mediated.wiki/source/Configfs
> Markdown URL: https://mediated.wiki/source/Configfs.md
> Source: https://en.wikipedia.org/wiki/Configfs
> Source revision: 1308200409
> License: Creative Commons Attribution-ShareAlike 4.0 International (https://creativecommons.org/licenses/by-sa/4.0/)

{{Short description|Virtual file system in the Linux kernel}}
{{Use dmy dates|date=April 2025}}
'''Configfs''' is a [RAM](/source/Random-access_memory)-based [virtual file system](/source/virtual_file_system) provided by the 2.6 [Linux kernel](/source/Linux_kernel).<ref>{{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}}</ref>

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

==See also==
*[tmpfs](/source/tmpfs)
*[sysctl](/source/sysctl) – an interface for examining and dynamically changing parameters in the BSD and Linux operating systems

==References==
{{reflist}}

==External links==
*{{Cite web|url=https://lwn.net/Articles/148987/|title=Configfs - the API [LWN.net]|website=lwn.net|accessdate=3 April 2025}} Configfs – the API
*{{Cite web|url=https://lwn.net/Articles/149005/|title=Documentation/configfs/configfs.txt [LWN.net]|website=lwn.net|accessdate=3 April 2025}} Documentation/configfs/configfs.txt

{{File systems}}
{{Linux kernel}}

Category:Free special-purpose file systems
Category:Pseudo file systems supported by the Linux kernel
Category:Interfaces of the Linux kernel

{{linux-stub}}

---
Adapted from the Wikipedia article [Configfs](https://en.wikipedia.org/wiki/Configfs) by Wikipedia contributors ([contributor history](https://en.wikipedia.org/wiki/Configfs?action=history)). Available under [Creative Commons Attribution-ShareAlike 4.0 International](https://creativecommons.org/licenses/by-sa/4.0/). Changes may have been made.
