<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh">
	<id>https://arolstar52-zhtest.hf.space/index.php?action=history&amp;feed=atom&amp;title=Kernfs_%28Linux%29</id>
	<title>Kernfs (Linux) - 版本历史</title>
	<link rel="self" type="application/atom+xml" href="https://arolstar52-zhtest.hf.space/index.php?action=history&amp;feed=atom&amp;title=Kernfs_%28Linux%29"/>
	<link rel="alternate" type="text/html" href="https://arolstar52-zhtest.hf.space/index.php?title=Kernfs_(Linux)&amp;action=history"/>
	<updated>2026-07-19T04:44:03Z</updated>
	<subtitle>本wiki上该页面的版本历史</subtitle>
	<generator>MediaWiki 1.43.9</generator>
	<entry>
		<id>https://arolstar52-zhtest.hf.space/index.php?title=Kernfs_(Linux)&amp;diff=3956657&amp;oldid=prev</id>
		<title>imported&gt;InternetArchiveBot：​补救3个来源，并将0个来源标记为失效。) #IABot (v2.0.8.7</title>
		<link rel="alternate" type="text/html" href="https://arolstar52-zhtest.hf.space/index.php?title=Kernfs_(Linux)&amp;diff=3956657&amp;oldid=prev"/>
		<updated>2022-05-14T16:06:51Z</updated>

		<summary type="html">&lt;p&gt;补救3个来源，并将0个来源标记为失效。) #IABot (v2.0.8.7&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新页面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;!--User:和每個人好好相處/submit.js--&amp;gt;&lt;br /&gt;
{{NoteTA|G1=IT|T=kernfs (Linux)}}&lt;br /&gt;
在[[Linux内核]]中， &amp;#039;&amp;#039;&amp;#039;kernfs&amp;#039;&amp;#039;&amp;#039;是一组[[函数]]，其中包含创建各种[[内核]]子系统内部使用的伪文件系统所需的功能，以便它们可以利用[[文件系统|虚拟文件]]。例如，sysfs 通过提供一组虚拟文件将有关硬件设备和相关[[驱动程序]]的信息从内核导出到[[使用者空間]]。&lt;br /&gt;
&lt;br /&gt;
由于拆分了[[sysfs]]使用的部分内部逻辑，kernfs 項目被创建。2014年3月30日发布的内核版本 3.14 中，以 Tejun Heo 为主要作者的相关[[修補程式]]并入了[[Linux内核|Linux 内核主线]]。&amp;lt;ref name=&amp;quot;kernel.org&amp;quot;&amp;gt;{{Cite web|title=Linux kernel source tree: kernel/git/torvalds/linux.git: sysfs, kernfs: add skeletons for kernfs|url=https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=b8441ed279bff09a0a5ddeacf8f4087d2fb424ca|access-date=April 2, 2014|author=Tejun Heo|date=October 13, 2013|publisher=[[kernel.org]]}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite web|title=Linux kernel 3.14, Section 3. Core|url=http://kernelnewbies.org/Linux_3.14#head-2a1c60de23027315150ffb8ccb8c8cee01e5377d|access-date=July 25, 2014|date=March 30, 2014|work=kernelnewbies.org|archive-date=2021-01-15|archive-url=https://web.archive.org/web/20210115101454/https://kernelnewbies.org/Linux_3.14#head-2a1c60de23027315150ffb8ccb8c8cee01e5377d}}&amp;lt;/ref&amp;gt;Kernfs 采用了 sysfs 的独立且可重用的功能，因此其他内核子系统可以更轻松、更一致地实现自己的伪[[文件系统]]。&amp;lt;ref name=&amp;quot;kernel.org&amp;quot; /&amp;gt;&amp;lt;ref&amp;gt;{{Cite web|title=Linux kernel&amp;#039;s sysfs logic turns into &amp;quot;kernfs&amp;quot; for 3.14|url=https://www.phoronix.com/scan.php?px=MTU3NzQ&amp;amp;page=news_item|access-date=April 2, 2014|author=Michael Larabel|date=January 20, 2014|publisher=[[Phoronix]]|archive-date=2022-03-29|archive-url=https://web.archive.org/web/20220329123126/https://www.phoronix.com/scan.php?px=MTU3NzQ&amp;amp;page=news_item}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite web|title=sysfs: separate out kernfs, part #1|url=https://lwn.net/Articles/571590/|access-date=July 25, 2014|author=Tejun Heo|date=October 24, 2013|publisher=[[LWN.net]]|archive-date=2022-03-29|archive-url=https://web.archive.org/web/20220329123126/https://lwn.net/Articles/571590/}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
kernfs 的主要用户之一是[[cgroups]]内部使用的伪文件系统，其重新设计一直持续到 Linux 内核的 3.15 版。&amp;lt;ref&amp;gt;{{Cite web|title=Linux kernel source tree: kernel/git/torvalds/linux.git: cgroups: convert to kernfs|url=https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=2bd59d48ebfb3df41ee56938946ca0dd30887312|access-date=May 23, 2014|author=Tejun Heo|date=February 11, 2014|publisher=[[kernel.org]]}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 參見 ==&lt;br /&gt;
{{Portal|Linux}}&lt;br /&gt;
&lt;br /&gt;
* [[Procfs]]：类 Unix 操作系统中的伪文件系统，它提供有关进程的信息（以及一些其他系统信息）&lt;br /&gt;
* [[tmpfs]]：在许多类 Unix 操作系统上用于临时文件存储的伪文件系统&lt;br /&gt;
&lt;br /&gt;
== 参考來源 ==&lt;br /&gt;
{{Reflist|30em}}&lt;br /&gt;
&lt;br /&gt;
== 外部链接 ==&lt;br /&gt;
&lt;br /&gt;
* Linux 内核源代码树中的[https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/fs/kernfs 相關源代码]&lt;br /&gt;
{{Linux内核}}{{操作系统}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Linux内核功能]]&lt;br /&gt;
[[Category:Linux内核接口]]&lt;br /&gt;
[[Category:Linux内核接口]]&lt;/div&gt;</summary>
		<author><name>imported&gt;InternetArchiveBot</name></author>
	</entry>
</feed>