<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="http://gentoo-zh.org/extern.php?action=feed&amp;tid=5&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Gentoo中文社区 / Linux内核配置选项简介]]></title>
		<link>http://www.gentoo-zh.org/viewtopic.php?id=5</link>
		<description><![CDATA[Linux内核配置选项简介 最近发表的帖子。]]></description>
		<lastBuildDate>Wed, 03 Aug 2022 14:29:35 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Linux内核配置选项简介]]></title>
			<link>http://www.gentoo-zh.org/viewtopic.php?pid=5#p5</link>
			<description><![CDATA[<p>Gentoo Linux<br />Gentoo内核(gentoo-sources)特有的选项</p><p>Gentoo Linux support<br />CONFIG_GENTOO_LINUX<br />&#160; &#160; 选&quot;Y&quot;后,将会自动选中那些在Gentoo环境中必须开启的内核选项,以避免用户遗漏某些必要的选项,减轻一些用户配置内核的难度.建议选&quot;Y&quot;.</p><p>&#160; &#160; Linux dynamic and persistent device naming (userspace devfs) support<br />&#160; &#160; CONFIG_GENTOO_LINUX_UDEV<br />&#160; &#160; &#160; &#160; 目前此项的作用仅是开启CONFIG_TMPFS和CONFIG_DEVTMPFS及其所依赖的选项.CONFIG_TMPFS是为了在&quot;/dev/shm&quot;,&quot;/run&quot;,&quot;/sys/fs/cgroup&quot;三个目录中挂载tmpfs文件系统,CONFIG_DEVTMPFS是为了在&quot;/dev&quot;目录挂载devtmpfs文件系统.建议选&quot;Y&quot;.</p><p>Support for init systems, system and service managers<br />&#160; &#160; &quot;init&quot;系统(系统与服务管理器).&quot;init&quot;是内核启动的第一个用户空间程序(PID=1),也是所有用户态进程的&quot;大总管&quot;([提示]所有内核态进程的大总管是PID=2的[kthreadd]).</p><p>&#160; &#160; OpenRC, runit and other script based systems and managers<br />&#160; &#160; CONFIG_GENTOO_LINUX_INIT_SCRIPT<br />&#160; &#160; &#160; &#160; OpenRC是Gentoo传统的&quot;init&quot;系统,使用基于SysVinit的传统启动脚本技术.选&quot;Y&quot;后,所有OpenRC所必需的内核选项(目前仅有CONFIG_BINFMT_SCRIPT)都会被自动选中.不确定的选&quot;Y&quot;.<br />&#160; &#160; systemd<br />&#160; &#160; CONFIG_GENTOO_LINUX_INIT_SYSTEMD<br />&#160; &#160; &#160; &#160; 尽管并非完美无缺,但是systemd确实是目前风头最劲的&quot;init&quot;系统,大有在Linux世界一统江湖的霸气和潜力.仅在你打算从OpenRC迁移到systemd时选&quot;Y&quot;.选&quot;Y&quot;后,内核中所有被systemd依赖的选项都将被自动选中,包括systemd建议的(而非必须的)选项,总计约20项.</p><p>64-bit kernel<br />CONFIG_64BIT<br />&#160; &#160; 编译64位内核.本文仅讲述x86_64(AMD64)平台的内核编译,所以这个是必选项.</p>]]></description>
			<author><![CDATA[dummy@example.com (batsom)]]></author>
			<pubDate>Wed, 03 Aug 2022 14:29:35 +0000</pubDate>
			<guid>http://www.gentoo-zh.org/viewtopic.php?pid=5#p5</guid>
		</item>
	</channel>
</rss>
