<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.cs.earlham.edu/index.php?action=history&amp;feed=atom&amp;title=HIP%3ATS-7000%3Amke2fs</id>
	<title>HIP:TS-7000:mke2fs - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.cs.earlham.edu/index.php?action=history&amp;feed=atom&amp;title=HIP%3ATS-7000%3Amke2fs"/>
	<link rel="alternate" type="text/html" href="https://wiki.cs.earlham.edu/index.php?title=HIP:TS-7000:mke2fs&amp;action=history"/>
	<updated>2026-08-10T14:44:42Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.2</generator>
	<entry>
		<id>https://wiki.cs.earlham.edu/index.php?title=HIP:TS-7000:mke2fs&amp;diff=5794&amp;oldid=prev</id>
		<title>Lemanal: setting up a ramdisk for tmp storage</title>
		<link rel="alternate" type="text/html" href="https://wiki.cs.earlham.edu/index.php?title=HIP:TS-7000:mke2fs&amp;diff=5794&amp;oldid=prev"/>
		<updated>2007-05-31T04:15:16Z</updated>

		<summary type="html">&lt;p&gt;setting up a ramdisk for tmp storage&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;=Compiling=&lt;br /&gt;
 arm@crow:~/e2fsprogs-1.39$ ./configure --host=arm-unknown-linux-gnu --build=arm --with-cc=/opt/crosstool/gcc-4.0.1-glibc-2.3.5/arm-unknown-linux-gnu/arm-unknown-linux-gnu/bin/gcc --with-ld=/opt/crosstool/gcc-4.0.1-glibc-2.3.5/arm-unknown-linux-gnu/arm-unknown-linux-gnu/bin/ld&lt;br /&gt;
 ...&lt;br /&gt;
 arm@crow:~/e2fsprogs-1.39$ make&lt;br /&gt;
 ....&lt;br /&gt;
 arm@crow:~/e2fsprogs-1.39$ file misc/mke2fs&lt;br /&gt;
 misc/mke2fs: ELF 32-bit LSB executable, ARM, version 1, for GNU/Linux 2.4.3, dynamically linked (uses shared libs), not stripped&lt;br /&gt;
&lt;br /&gt;
=Creating a ramdisk=&lt;br /&gt;
[http://www.vanemery.com/Linux/Ramdisk/ramdisk.html Using these directions]...&lt;br /&gt;
&lt;br /&gt;
# Catch the bootloader using [[HIP:TS-7000:redboot|the RedBoot directions]].&lt;br /&gt;
# Add the kernel parameter: &amp;lt;code&amp;gt; ramdisk_size=3000 &amp;lt;/code&amp;gt; (expressed in 1024-byte blocks)&lt;br /&gt;
# Added the following script as &amp;lt;code&amp;gt;/etc/init.d/ramdisk&amp;lt;/code&amp;gt;&lt;br /&gt;
# Add a symlink:&lt;br /&gt;
 $ cd etc/rc.d/rc3.d/&lt;br /&gt;
&lt;br /&gt;
 $ ln -s ../../init.d/dropbear S99dropbear&lt;br /&gt;
&lt;br /&gt;
==The init.d script==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
OPTIONS=&amp;quot;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
case &amp;quot;$1&amp;quot; in&lt;br /&gt;
    start)&lt;br /&gt;
       echo &amp;quot;Formatting and mounting ramdisk&amp;quot;&lt;br /&gt;
       mke2fs -m 0 /dev/rd/0&lt;br /&gt;
       mount /dev/rd/0 /mnt/rd&lt;br /&gt;
    ;;&lt;br /&gt;
    stop)&lt;br /&gt;
        echo &amp;quot;Unmounting ramdisk&amp;quot;&lt;br /&gt;
        umount /mnt/rd&lt;br /&gt;
    ;;                     &lt;br /&gt;
    restart)&lt;br /&gt;
        $0 stop &lt;br /&gt;
        $0 start&lt;br /&gt;
    ;;&lt;br /&gt;
    *)&lt;br /&gt;
       echo &amp;quot;usage: start|stop|restart&amp;quot;&lt;br /&gt;
    ;;&lt;br /&gt;
esac&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;/div&gt;</summary>
		<author><name>Lemanal</name></author>
	</entry>
</feed>