<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://www.linux-mips.org/mediawiki/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://www.linux-mips.org/wiki?title=Ramdisk&amp;feed=atom&amp;action=history</id>
		<title>Ramdisk - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://www.linux-mips.org/wiki?title=Ramdisk&amp;feed=atom&amp;action=history"/>
		<link rel="alternate" type="text/html" href="http://www.linux-mips.org/wiki?title=Ramdisk&amp;action=history"/>
		<updated>2013-05-25T07:43:01Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.20.2</generator>

	<entry>
		<id>//www.linux-mips.org/wiki?title=Ramdisk&amp;diff=11687&amp;oldid=prev</id>
		<title>Ralf: See also: Fix link.</title>
		<link rel="alternate" type="text/html" href="http://www.linux-mips.org/wiki?title=Ramdisk&amp;diff=11687&amp;oldid=prev"/>
				<updated>2012-08-16T19:45:35Z</updated>
		
		<summary type="html">&lt;p&gt;See also: Fix link.&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr style='vertical-align: top;'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 19:45, 16 August 2012&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 47:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 47:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;== See also ==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;== See also ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* [http://www.linux-mips.org/git?p=linux.git;a=blob;f=Documentation/early-userspace/README Documentation/early-userspace/README]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* [http://www.linux-mips.org/git?p=&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;ralf/&lt;/ins&gt;linux.git;a=blob;f=Documentation/early-userspace/README Documentation/early-userspace/README]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Ralf</name></author>	</entry>

	<entry>
		<id>//www.linux-mips.org/wiki?title=Ramdisk&amp;diff=10652&amp;oldid=prev</id>
		<title>Alec v: see also</title>
		<link rel="alternate" type="text/html" href="http://www.linux-mips.org/wiki?title=Ramdisk&amp;diff=10652&amp;oldid=prev"/>
				<updated>2009-03-20T13:08:37Z</updated>
		
		<summary type="html">&lt;p&gt;see also&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr style='vertical-align: top;'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 13:08, 20 March 2009&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 45:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 45:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;== Separate ramdisks ==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;== Separate ramdisks ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Starting in 2.6.10-rc2 the kernel accepts the two [[Kernel_Command_Line_Arguments | command line arguments]] &amp;lt;tt&amp;gt;rd_start&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;rd_size&amp;lt;/tt&amp;gt;.&amp;#160; Both take a numeric argument and are used to pass the start address and size of a loaded ramdisk image to the kernel.&amp;#160; This interface is intended primarily for bootloaders in Linux distributions that want to retain the ability to create and modify ramdisks independant of kernels.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Starting in 2.6.10-rc2 the kernel accepts the two [[Kernel_Command_Line_Arguments | command line arguments]] &amp;lt;tt&amp;gt;rd_start&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;rd_size&amp;lt;/tt&amp;gt;.&amp;#160; Both take a numeric argument and are used to pass the start address and size of a loaded ramdisk image to the kernel.&amp;#160; This interface is intended primarily for bootloaders in Linux distributions that want to retain the ability to create and modify ramdisks independant of kernels.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;== See also ==&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;* [http://www.linux-mips.org/git?p=linux.git;a=blob;f=Documentation/early-userspace/README Documentation/early-userspace/README]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Alec v</name></author>	</entry>

	<entry>
		<id>//www.linux-mips.org/wiki?title=Ramdisk&amp;diff=6287&amp;oldid=prev</id>
		<title>Alec v: html, link</title>
		<link rel="alternate" type="text/html" href="http://www.linux-mips.org/wiki?title=Ramdisk&amp;diff=6287&amp;oldid=prev"/>
				<updated>2005-08-26T08:37:40Z</updated>
		
		<summary type="html">&lt;p&gt;html, link&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr style='vertical-align: top;'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 08:37, 26 August 2005&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 41:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 41:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;/code&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;/code&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;So this will populate the initrd with a /dev directory, a &amp;lt;tt&amp;gt;/dev/console&amp;lt;/tt&amp;gt; character device, a /root directory and ''most importantly'' a hello world program that does to &amp;lt;tt&amp;gt;/init&amp;lt;/&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;init&lt;/del&gt;&amp;gt; and control the further system initialization by sending a friendly greeting to the user. &lt;del class=&quot;diffchange diffchange-inline&quot;&gt; &lt;/del&gt;A more realistic scenario would be to have &amp;lt;tt&amp;gt;/init&amp;lt;/tt&amp;gt; load important modules such as necessary device drivers and filesystems needed for further system initialization.&amp;#160; A big different between the old ramdisk scheme is that the filesystem that will be embedded into the kernel is a &amp;lt;tt&amp;gt;cpio&amp;lt;/tt&amp;gt; archive, no longer the image of a filesystem on a block device.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;So this will populate the initrd with a /dev directory, a &amp;lt;tt&amp;gt;/dev/console&amp;lt;/tt&amp;gt; character device, a /root directory and ''most importantly'' a hello world program that does to &amp;lt;tt&amp;gt;/init&amp;lt;/&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;tt&lt;/ins&gt;&amp;gt; and control the further system initialization by sending a friendly greeting to the user. A more realistic scenario would be to have &amp;lt;tt&amp;gt;/init&amp;lt;/tt&amp;gt; load important modules such as necessary device drivers and filesystems needed for further system initialization.&amp;#160; A big different between the old ramdisk scheme is that the filesystem that will be embedded into the kernel is a &amp;lt;tt&amp;gt;cpio&amp;lt;/tt&amp;gt; archive, no longer the image of a filesystem on a block device.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;== Separate ramdisks ==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;== Separate ramdisks ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Starting in 2.6.10-rc2 the kernel accepts the two command line arguments &amp;lt;tt&amp;gt;rd_start&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;rd_size&amp;lt;/tt&amp;gt;.&amp;#160; Both take a numeric argument and are used to pass the start address and size of a loaded ramdisk image to the kernel.&amp;#160; This interface is intended primarily for bootloaders in Linux distributions that want to retain the ability to create and modify ramdisks independant of kernels.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Starting in 2.6.10-rc2 the kernel accepts the two &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;[[Kernel_Command_Line_Arguments | &lt;/ins&gt;command line arguments&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;]] &lt;/ins&gt;&amp;lt;tt&amp;gt;rd_start&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;rd_size&amp;lt;/tt&amp;gt;.&amp;#160; Both take a numeric argument and are used to pass the start address and size of a loaded ramdisk image to the kernel.&amp;#160; This interface is intended primarily for bootloaders in Linux distributions that want to retain the ability to create and modify ramdisks independant of kernels.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Alec v</name></author>	</entry>

	<entry>
		<id>//www.linux-mips.org/wiki?title=Ramdisk&amp;diff=2831&amp;oldid=prev</id>
		<title>Ralf at 16:39, 16 January 2005</title>
		<link rel="alternate" type="text/html" href="http://www.linux-mips.org/wiki?title=Ramdisk&amp;diff=2831&amp;oldid=prev"/>
				<updated>2005-01-16T16:39:38Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr style='vertical-align: top;'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 16:39, 16 January 2005&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 43:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 43:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;So this will populate the initrd with a /dev directory, a &amp;lt;tt&amp;gt;/dev/console&amp;lt;/tt&amp;gt; character device, a /root directory and ''most importantly'' a hello world program that does to &amp;lt;tt&amp;gt;/init&amp;lt;/init&amp;gt; and control the further system initialization by sending a friendly greeting to the user.&amp;#160; A more realistic scenario would be to have &amp;lt;tt&amp;gt;/init&amp;lt;/tt&amp;gt; load important modules such as necessary device drivers and filesystems needed for further system initialization.&amp;#160; A big different between the old ramdisk scheme is that the filesystem that will be embedded into the kernel is a &amp;lt;tt&amp;gt;cpio&amp;lt;/tt&amp;gt; archive, no longer the image of a filesystem on a block device.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;So this will populate the initrd with a /dev directory, a &amp;lt;tt&amp;gt;/dev/console&amp;lt;/tt&amp;gt; character device, a /root directory and ''most importantly'' a hello world program that does to &amp;lt;tt&amp;gt;/init&amp;lt;/init&amp;gt; and control the further system initialization by sending a friendly greeting to the user.&amp;#160; A more realistic scenario would be to have &amp;lt;tt&amp;gt;/init&amp;lt;/tt&amp;gt; load important modules such as necessary device drivers and filesystems needed for further system initialization.&amp;#160; A big different between the old ramdisk scheme is that the filesystem that will be embedded into the kernel is a &amp;lt;tt&amp;gt;cpio&amp;lt;/tt&amp;gt; archive, no longer the image of a filesystem on a block device.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Starting in 2.6.10-rc2 the kernel accepts the two command line arguments &amp;lt;tt&amp;gt;rd_start&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;rd_size&amp;lt;/tt&amp;gt;.&amp;#160; Both take a numeric argument and are used to pass the start address and size of a loaded ramdisk image to the kernel.&amp;#160; This interface is intended primarily for bootloaders.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;== Separate ramdisks ==&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Starting in 2.6.10-rc2 the kernel accepts the two command line arguments &amp;lt;tt&amp;gt;rd_start&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;rd_size&amp;lt;/tt&amp;gt;.&amp;#160; Both take a numeric argument and are used to pass the start address and size of a loaded ramdisk image to the kernel.&amp;#160; This interface is intended primarily for bootloaders &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;in Linux distributions that want to retain the ability to create and modify ramdisks independant of kernels&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Ralf</name></author>	</entry>

	<entry>
		<id>//www.linux-mips.org/wiki?title=Ramdisk&amp;diff=1326&amp;oldid=prev</id>
		<title>Ralf at 21:38, 21 November 2004</title>
		<link rel="alternate" type="text/html" href="http://www.linux-mips.org/wiki?title=Ramdisk&amp;diff=1326&amp;oldid=prev"/>
				<updated>2004-11-21T21:38:45Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr style='vertical-align: top;'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 21:38, 21 November 2004&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 42:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 42:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;So this will populate the initrd with a /dev directory, a &amp;lt;tt&amp;gt;/dev/console&amp;lt;/tt&amp;gt; character device, a /root directory and ''most importantly'' a hello world program that does to &amp;lt;tt&amp;gt;/init&amp;lt;/init&amp;gt; and control the further system initialization by sending a friendly greeting to the user.&amp;#160; A more realistic scenario would be to have &amp;lt;tt&amp;gt;/init&amp;lt;/tt&amp;gt; load important modules such as necessary device drivers and filesystems needed for further system initialization.&amp;#160; A big different between the old ramdisk scheme is that the filesystem that will be embedded into the kernel is a &amp;lt;tt&amp;gt;cpio&amp;lt;/tt&amp;gt; archive, no longer the image of a filesystem on a block device.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;So this will populate the initrd with a /dev directory, a &amp;lt;tt&amp;gt;/dev/console&amp;lt;/tt&amp;gt; character device, a /root directory and ''most importantly'' a hello world program that does to &amp;lt;tt&amp;gt;/init&amp;lt;/init&amp;gt; and control the further system initialization by sending a friendly greeting to the user.&amp;#160; A more realistic scenario would be to have &amp;lt;tt&amp;gt;/init&amp;lt;/tt&amp;gt; load important modules such as necessary device drivers and filesystems needed for further system initialization.&amp;#160; A big different between the old ramdisk scheme is that the filesystem that will be embedded into the kernel is a &amp;lt;tt&amp;gt;cpio&amp;lt;/tt&amp;gt; archive, no longer the image of a filesystem on a block device.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;Starting in 2.6.10-rc2 the kernel accepts the two command line arguments &amp;lt;tt&amp;gt;rd_start&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;rd_size&amp;lt;/tt&amp;gt;.&amp;#160; Both take a numeric argument and are used to pass the start address and size of a loaded ramdisk image to the kernel.&amp;#160; This interface is intended primarily for bootloaders.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Ralf</name></author>	</entry>

	<entry>
		<id>//www.linux-mips.org/wiki?title=Ramdisk&amp;diff=1074&amp;oldid=prev</id>
		<title>Ralf at 13:46, 21 November 2004</title>
		<link rel="alternate" type="text/html" href="http://www.linux-mips.org/wiki?title=Ramdisk&amp;diff=1074&amp;oldid=prev"/>
				<updated>2004-11-21T13:46:59Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;The Linux ramdisk is primarily intended as an auxiliary filesystem for system initialization and installation.  In some case where no other block device is available the entire root filesystem may reside on a ramdisk.&lt;br /&gt;
&lt;br /&gt;
== Embedded ramdisks ==&lt;br /&gt;
In Linux/MIPS&amp;amp;nbsp;2.4 embedded ramdisks were introduced.  With embedded ramdisk the ramdisk becomes part of the vmlinux binary.  This type of ramdisk is particularly useful where having separate kernel and initrd image files would be inconvenient, for example where the firmware doesn't support this.  The disadvantage of course is that replacing the ramdisk may require rebuilding the entire kernel.&lt;br /&gt;
&lt;br /&gt;
Embedded ramdisk support is enabled by the &amp;lt;tt&amp;gt;CONFIG_EMBEDDED_RAMDISK&amp;lt;/tt&amp;gt; configuration option.  If this option is enabled &amp;lt;tt&amp;gt;EMBEDDED_RAMDISK_IMAGE&amp;lt;/tt&amp;gt; has to be configured to the filename of a ramdisk image.  Absolute filenames are permitted.  Relative filenames are relative to arch/mips/ramdisk.&lt;br /&gt;
&lt;br /&gt;
Embedded ramdisk support was removed for 2.6.10-rc2.  The replacement is &amp;lt;tt&amp;gt;CONFIG_INITRAMFS_SOURCE&amp;lt;/tt&amp;gt;.  For your convience here's the kernel configuration help text:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
      This can be set to either a directory containing files, etc to be&lt;br /&gt;
      included in the initramfs archive, or a file containing newline&lt;br /&gt;
      separated entries.&lt;br /&gt;
 &lt;br /&gt;
      If it is a file, it should be in the following format:&lt;br /&gt;
        # a comment&lt;br /&gt;
        file &amp;lt;name&amp;gt; &amp;lt;location&amp;gt; &amp;lt;mode&amp;gt; &amp;lt;uid&amp;gt; &amp;lt;gid&amp;gt;&lt;br /&gt;
        dir &amp;lt;name&amp;gt; &amp;lt;mode&amp;gt; &amp;lt;uid&amp;gt; &amp;lt;gid&amp;gt;&lt;br /&gt;
        nod &amp;lt;name&amp;gt; &amp;lt;mode&amp;gt; &amp;lt;uid&amp;gt; &amp;lt;gid&amp;gt; &amp;lt;dev_type&amp;gt; &amp;lt;maj&amp;gt; &amp;lt;min&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
      Where:&lt;br /&gt;
        &amp;lt;name&amp;gt;      name of the file/dir/nod in the archive&lt;br /&gt;
        &amp;lt;location&amp;gt;  location of the file in the current filesystem&lt;br /&gt;
        &amp;lt;mode&amp;gt;      mode/permissions of the file&lt;br /&gt;
        &amp;lt;uid&amp;gt;       user id (0=root)&lt;br /&gt;
        &amp;lt;gid&amp;gt;       group id (0=root)&lt;br /&gt;
        &amp;lt;dev_type&amp;gt;  device type (b=block, c=character)&lt;br /&gt;
        &amp;lt;maj&amp;gt;       major number of nod&lt;br /&gt;
        &amp;lt;min&amp;gt;       minor number of nod&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And here's a very simple example for such a file that describes an initramdisk:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
    # This is a very simple initramfs&lt;br /&gt;
 &lt;br /&gt;
    dir /dev 0755 0 0&lt;br /&gt;
    nod /dev/console 0600 0 0 c 5 1&lt;br /&gt;
    dir /root 0700 0 0&lt;br /&gt;
    file /init /usr/src/hello-1.2/hello 0755 0 0&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
So this will populate the initrd with a /dev directory, a &amp;lt;tt&amp;gt;/dev/console&amp;lt;/tt&amp;gt; character device, a /root directory and ''most importantly'' a hello world program that does to &amp;lt;tt&amp;gt;/init&amp;lt;/init&amp;gt; and control the further system initialization by sending a friendly greeting to the user.  A more realistic scenario would be to have &amp;lt;tt&amp;gt;/init&amp;lt;/tt&amp;gt; load important modules such as necessary device drivers and filesystems needed for further system initialization.  A big different between the old ramdisk scheme is that the filesystem that will be embedded into the kernel is a &amp;lt;tt&amp;gt;cpio&amp;lt;/tt&amp;gt; archive, no longer the image of a filesystem on a block device.&lt;/div&gt;</summary>
		<author><name>Ralf</name></author>	</entry>

	</feed>