<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>生活周遭 &#187; udev</title>
	<atom:link href="http://blog.leirahua.com/tag/udev/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.leirahua.com</link>
	<description>In My Circle</description>
	<lastBuildDate>Wed, 27 Jan 2010 15:56:59 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>udev的static device node</title>
		<link>http://blog.leirahua.com/2006/udev%e7%9a%84static-device-node/</link>
		<comments>http://blog.leirahua.com/2006/udev%e7%9a%84static-device-node/#comments</comments>
		<pubDate>Thu, 31 Aug 2006 02:33:44 +0000</pubDate>
		<dc:creator>leira</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[udev]]></category>

		<guid isPermaLink="false">http://blog.leirahua.com/articles/udev%e7%9a%84static-device-node.html</guid>
		<description><![CDATA[这两天帮QA的同事安装nistnet，使用中发现，每次reboot以后，都会丢失/dev下所需的设备节点，包括/dev/nistnet,/dev/hitbox等。后来我想到ubuntu使用udev来动态建立设备节点，应该是reboot的时候，udev没能正确的重新建立这些节点。于是，需要udev建立这些静态的设备节点。google了一下，在LFS中找到了方法。udev的init script会把/lib/udev/devices/下预建立的静态device nodes拷贝到/dev下面。所以，只要把需要的static device node预先mknod到/lib/udev/devices下面就行了。]]></description>
			<content:encoded><![CDATA[<hr/>这两天帮QA的同事安装<a href=""http://snad.ncsl.nist.gov/itg/nistnet/"" target="_blank">nistnet</a>，使用中发现，每次reboot以后，都会丢失/dev下所需的设备节点，包括/dev/nistnet,/dev/hitbox等。后来我想到ubuntu使用udev来动态建立设备节点，应该是reboot的时候，udev没能正确的重新建立这些节点。于是，需要udev建立这些静态的设备节点。<br/><br/>google了一下，在<a href=""http://www.linuxfromscratch.org/lfs/view/development/chapter07/udev.html"" target="_blank">LFS</a>中找到了方法。udev的init script会把/lib/udev/devices/下预建立的静态device nodes拷贝到/dev下面。所以，只要把需要的static device node预先mknod到/lib/udev/devices下面就行了。</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.leirahua.com/2006/udev%e7%9a%84static-device-node/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
